From 3cb56ad565fca7408eaaacb74fe8ccfcd92729e1 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 25 May 2017 15:11:21 +0200 Subject: ar.what was not a lua string --- 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 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); -- cgit v1.2.3-70-g09d2