diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-05-25 15:11:21 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-25 15:11:21 +0200 |
commit | 3cb56ad565fca7408eaaacb74fe8ccfcd92729e1 (patch) | |
tree | 514b4ce1a7ea9d0db32eca395e8f6b30cf177076 /src/ldebug.js | |
parent | 393e1a61804eb33e57d92cecd31d62afbef47d3f (diff) | |
download | fengari-3cb56ad565fca7408eaaacb74fe8ccfcd92729e1.tar.gz fengari-3cb56ad565fca7408eaaacb74fe8ccfcd92729e1.tar.bz2 fengari-3cb56ad565fca7408eaaacb74fe8ccfcd92729e1.zip |
ar.what was not a lua string
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 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); |