Closed Aberro closed 4 years ago
This will output current value from the stack, while it should be nil value. `local x print(x)'
AssignmentStatement.Compile tells SymbolRefExpression to emit OpCode.StoreLcl with stackofs=0 and tupleidx=1 and this makes no sense in given context.
Duplicate of https://github.com/moonsharp-devs/moonsharp/issues/263
This will output current value from the stack, while it should be nil value. `local x print(x)'
AssignmentStatement.Compile tells SymbolRefExpression to emit OpCode.StoreLcl with stackofs=0 and tupleidx=1 and this makes no sense in given context.