diff --git a/src/core/org/luaj/vm/LValue.java b/src/core/org/luaj/vm/LValue.java index dce05f83..011099eb 100644 --- a/src/core/org/luaj/vm/LValue.java +++ b/src/core/org/luaj/vm/LValue.java @@ -68,7 +68,7 @@ public class LValue { // unsupported except for numbers public LValue luaBinOpUnknown(int opcode, LValue lhs) { - return arithmeticError(lhs.luaGetTypeName()); + return arithmeticError(luaGetTypeName()); } // unsupported except for numbers