goplus / builder

Go+ Builder
https://builder.goplus.org
19 stars 18 forks source link

spx: function declaration in sprite code (classfile) #591

Open nighca opened 3 weeks ago

nighca commented 3 weeks ago

It is now supported to declare functions in spx file, but the function declarations are required to be placed after the variable definitions, while before other code. Otherwise error is thrown.

We may fix this within code-formatting.