From 1094adc81e7f46720e9ef269f43fc265475cddf7 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Sun, 23 Apr 2017 15:43:23 +0200 Subject: Bad upval name type --- src/ldebug.js | 2 +- tests/lua-tests | 2 +- 2 files changed, 2 insertions(+), 2 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 index 9e0d0bf..09921ea 160000 --- a/tests/lua-tests +++ b/tests/lua-tests @@ -1 +1 @@ -Subproject commit 9e0d0bfb5de8cb0534a13c19f23377db62b53d57 +Subproject commit 09921eadf1e107b70f698db6058e4ef364802793 -- cgit v1.2.3-70-g09d2