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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2