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 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) { | 
