aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-25 15:11:21 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-25 15:11:21 +0200
commit3cb56ad565fca7408eaaacb74fe8ccfcd92729e1 (patch)
tree514b4ce1a7ea9d0db32eca395e8f6b30cf177076 /src
parent393e1a61804eb33e57d92cecd31d62afbef47d3f (diff)
downloadfengari-3cb56ad565fca7408eaaacb74fe8ccfcd92729e1.tar.gz
fengari-3cb56ad565fca7408eaaacb74fe8ccfcd92729e1.tar.bz2
fengari-3cb56ad565fca7408eaaacb74fe8ccfcd92729e1.zip
ar.what was not a lua string
Diffstat (limited to 'src')
-rw-r--r--src/ldebug.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldebug.js b/src/ldebug.js
index 5749951..0f387af 100644
--- a/src/ldebug.js
+++ b/src/ldebug.js
@@ -167,7 +167,7 @@ const funcinfo = function(ar, cl) {
ar.source = defs.to_luastring("=[JS]", true);
ar.linedefined = -1;
ar.lastlinedefined = -1;
- ar.what = "J";
+ ar.what = ["J".charCodeAt(0)];
} else {
let p = cl.p;
ar.source = p.source ? p.source.getstr() : defs.to_luastring("=?", true);