WurstScript icon indicating copy to clipboard operation
WurstScript copied to clipboard

Programming language and toolkit to create Warcraft III Maps

Results 118 WurstScript issues
Sort by recently updated
recently updated
newest added

sometimes i want to know how much eles in the enum and want to make a iterator if the enum can get size (Gets the number of fields in the...

enhancement

What the title says. Right now, checked dispatch is inserted at every class method call, heavily bloating up the code, and dragging down the excellent inlining system that has been...

as the wurst manual says that "vararg" is unlimited in amount of values inside, see: https://wurstlang.org/manual.html#extension-functions "We can pass any amount of integers to the function" it should be noted...

enhancement

.. and then cause "import C could not be found in Y" errors. Even though the package clearly exists: ![](https://i.imgur.com/oxt2eYU.png) The problem is that `MapBounds` contains an error, which doesn't...

bug

Currently the compiler will crash when access to a file is permitted. Instead it should give a nice error message. Case 1: ``` java.io.FileNotFoundException: C:\Users\....\challenge\.....w3x (Access is denied) java.io.FileOutputStream.open(Native Method)...

After the inline phase there are many functions like this ```` function C1 takes nothing returns boolean return true endfunction ```` Left behind which are from packages which init's have...

enhancement
optimization

It should be possible to write `Blub.foo()` to reference the function `foo` in package `Blub`.

enhancement

- [x] Teach compiler to find dependencies in `_build/dependencies` automatically (folder created by setup tool) - [x] Make editor track changes to files in `_build/dependencies` (basically handle them like files...

Steps to reproduce: 1. Make a 24-player map like this: ![1](https://i.imgur.com/Ps1p01J.png) 2. Make 2 forces like this: ![2](https://i.imgur.com/yPd6DTC.png) Saving this map in WorldEdit produces this monstrosity of a function: https://pastebin.com/JED2J7V3...

enhancement
optimization

warnings from stdlib show in user projects. Don't think that's useful.

enhancement