wurstscript / WurstScript

Programming language and toolkit to create Warcraft III Maps
https://wurstlang.org
Apache License 2.0
226 stars 28 forks source link

[Lua]: Compiling map and not using "-opt" creates wrong "config" function #1090

Open Donach opened 4 months ago

Donach commented 4 months ago

Describe the bug When I'm compiling a map using Lua target, when I use "-opt" as well all works fine. However when I disable "-opt", the "config" native function get's renamed with some number suffix like this: image

Using Wurst version 1.8.1.0-jenkins-Wurst-1361

My full config: -runcompiletimefunctions -injectobjects -stacktraces -noExtractMapScript -opt -localOptimizations -lua