Fix the bug in the CLOSE instruction that was causing upvalues3.lua to fail.
This commit is contained in:
@@ -836,7 +836,7 @@ public class LuaState extends Lua {
|
||||
continue;
|
||||
}
|
||||
case LuaState.OP_CLOSE: {
|
||||
closeUpVals( a ); // close upvals higher in the stack than position a
|
||||
closeUpVals( base + a ); // close upvals higher in the stack than position a
|
||||
continue;
|
||||
}
|
||||
case LuaState.OP_CLOSURE: {
|
||||
|
||||
@@ -1 +1 @@
|
||||
version: 0.18
|
||||
version: 0.19
|
||||
|
||||
Reference in New Issue
Block a user