Skip to content

Wurst bug #739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Meai1 opened this issue Oct 18, 2018 · 1 comment · Fixed by #741
Closed

Wurst bug #739

Meai1 opened this issue Oct 18, 2018 · 1 comment · Fixed by #741

Comments

@Meai1
Copy link

Meai1 commented Oct 18, 2018

java.lang.RuntimeException: There was a Wurst bug in the translation of endfunctionstatement (C:\Users\pc\Downloads\MyWurstProject\wurst\Conflagration.wurst:89): Can't make array type from array<integer, integer>

source code: wurst.zip

compiler.log doesnt have anything interesting in it, just a big file of:

2018-10-18 20:19:53 [Wurst LanguageWorker] DEBUG s.crigges.jmpq3.AttributesFile - parsed attributes 
2018-10-18 20:19:53 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Building mpq 
2018-10-18 20:19:53 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Sorted blocks 
2018-10-18 20:19:53 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added existing files 
2018-10-18 20:19:53 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added new files 
2018-10-18 20:19:53 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added listfile 
2018-10-18 20:19:53 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Rebuild complete. Took: 14ms 
2018-10-18 20:19:57 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Building mpq 
2018-10-18 20:19:57 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Sorted blocks 
2018-10-18 20:19:57 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added existing files 
2018-10-18 20:19:57 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added new files 
2018-10-18 20:19:57 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added listfile 
2018-10-18 20:19:57 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Rebuild complete. Took: 15ms 
2018-10-18 20:20:38 [Wurst LanguageWorker] DEBUG s.crigges.jmpq3.AttributesFile - parsed attributes 
2018-10-18 20:20:38 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Building mpq 
2018-10-18 20:20:38 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Sorted blocks 
2018-10-18 20:20:38 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added existing files 
2018-10-18 20:20:38 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added new files 
2018-10-18 20:20:38 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added listfile 
2018-10-18 20:20:38 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Rebuild complete. Took: 8ms 
2018-10-18 20:20:42 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Building mpq 
2018-10-18 20:20:42 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Sorted blocks 
2018-10-18 20:20:42 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added existing files 
2018-10-18 20:20:42 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added new files 
2018-10-18 20:20:42 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Added listfile 
2018-10-18 20:20:42 [Wurst LanguageWorker] DEBUG systems.crigges.jmpq3.JMpqEditor - Rebuild complete. Took: 11ms 
@peq
Copy link
Collaborator

peq commented Oct 18, 2018

Probaby the same problem as #572 and #364

Already working on a fix (array-refactor branch), but needs a bit more time.

@peq peq closed this as completed in #741 Oct 20, 2018
peq added a commit that referenced this issue Oct 20, 2018
With the rewrite it is finally possible to use tuples in multi-dimensional arrays.

This should fix #739 #572 #364.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants