diff options
Diffstat (limited to 'src/ldebug.js')
-rw-r--r-- | src/ldebug.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldebug.js b/src/ldebug.js index 34c6fc5..910720f 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -513,7 +513,7 @@ const isinstack = function(L, ci, o) { const getupvalname = function(L, ci, o) { let c = ci.func; for (let i = 0; i < c.nupvalues; i++) { - if (c.upvals[i].val(L) === o) { + if (c.upvals[i].val() === o) { return { name: upvalname(c.p, i), funcname: defs.to_luastring('upvalue', true) |