From 7ac843a05895dc9722cf8e515049fbbc82b01a05 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sun, 21 May 2017 23:48:22 +1000 Subject: src/ldebug.js: Fix returning TString instead of raw 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 4be14dd..b427e76 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -411,7 +411,7 @@ const getobjname = function(p, lastpc, reg) { case 'OP_LOADKX': { let b = op === 'OP_LOADK' ? i.Bx : p.code[pc + 1].Ax; if (p.k[b].ttisstring()) { - r.name = p.k[b].tsvalue(); + r.name = p.k[b].svalue(); r.funcname = defs.to_luastring("constant", true); return r; } -- cgit v1.2.3-70-g09d2