WurstScript
WurstScript copied to clipboard
Programming language and toolkit to create Warcraft III Maps
**Describe the bug** When a for-to loop's body mutates its iteration index, the exit condition doesn't correctly trigger "variable read". * Example: ``` for i = 0 to stackPointer Invulnerable...
**Describe the bug** Auto-completion mess with the possibility to add some kind of documention.  *Steps to reproduce the bug** - Create a documentation comment `/** */` - Add some...
We want to improve our object editing pipeline to be more flexible and feature-complete. The main problem is that objectdefinitions only save the modifications done to their parent, so if...
``` @Test public void genericToIndexBug2() { testAssertOkLines(true, "package test", "native testSuccess()", "class C", " T x", "function stringToIndex(string s) returns int", " return 42", "function stringFromIndex(int i) returns string", "...
this is the syntax msg Encountered compiler bug near element variable s: java.lang.NullPointerException java.lang.NullPointerException de.peeeq.wurstscript.validation.WurstValidator.visit(WurstValidator.java:918) de.peeeq.wurstscript.validation.WurstValidator.check(WurstValidator.java:330) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:211) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.walkTree(WurstValidator.java:214) de.peeeq.wurstscript.validation.WurstValidator.validate(WurstValidator.java:59) de.peeeq.wurstscript.WurstChecker.checkProg(WurstChecker.java:46) de.peeeq.wurstio.WurstCompilerJassImpl.checkProg(WurstCompilerJassImpl.java:326) de.peeeq.wurstio.languageserver.ModelManagerImpl.doTypeCheckPartial(ModelManagerImpl.java:543) de.peeeq.wurstio.languageserver.ModelManagerImpl.syncCompilationUnit(ModelManagerImpl.java:446)...
Instead of having to make an interface or abstract class, just allow specifying the input and output type to get a functional type. So instead of this: ``` interface MyClosure1...
as the title not break the loop but skip the code under that on loop i try use the skip but it is not this mean .and it make i...
Packages defined in the /wurst folder should have priority over packages with the same name from the StandardLib. But when redefining for example "Maths.wurst" the following errors occur: 1. Eclipse...
So I've encountered a weird bug while I was making a description for my heroes: if extended tooltip exceeds some limit, warcraft crashes on loading. I conducted a simple research...
Jurst aims to support vJass, but multi-dimensional arrays are not included - they raise an error "Only one-dimensional arrays are supported currently." in Eclipse. Fixing this shouldn't be too complicated...