diff options
-rw-r--r-- | src/ldebug.js | 2 | ||||
m--------- | tests/lua-tests | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ldebug.js b/src/ldebug.js index 4090011..34071a1 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -533,7 +533,7 @@ const varinfo = function(L, o) { kind = getobjname(ci.func.p, ci.pcOff, stkid - ci.u.l.base); } - return lua.to_luastring(kind ? ` (${lobject.jsstring(kind.funcname)} '${kind.name.jsstring()}')` : ``); + return lua.to_luastring(kind ? ` (${lobject.jsstring(kind.funcname)} '${lobject.jsstring(kind.name.value ? kind.name.value : kind.name)}')` : ``); }; const luaG_typeerror = function(L, o, op) { diff --git a/tests/lua-tests b/tests/lua-tests -Subproject 9e0d0bfb5de8cb0534a13c19f23377db62b53d5 +Subproject 09921eadf1e107b70f698db6058e4ef36480279 |