Open ChronoVortex opened 2 months ago
After messing with a few more functions, it seems like there may be something wrong with the way the compiler handles the static
keyword, in particular when declaring a static variable and assigning a function to it
function someOuterFunction(argument0)
{
static someInnerFunction = function(argument0)
{
return argument0;
};
return argument0;
}
Confirming that the compiler is missing implementation for the static
keyword
Describe the bug
Attempting to make changes to the decompiled
gml_GlobalScript_scrScore
code file in the latest Void War release throws the following error:The code referenced by the error: generate_score_data.txt
Reproducing steps
Fix
struct
keyword issue in #1916 as specified in this comment, then attempt to make modifications to the code and recompile.Setup Details
underanalyzer
branch (8c5462c)