From d8e002a33c6b212891d09a2221edd0f516d13d9a Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 13 Dec 2017 14:38:52 +1100 Subject: src/lapi.js: Remove emptystring: rely on internal string cache instead --- src/ldebug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ldebug.js') diff --git a/src/ldebug.js b/src/ldebug.js index 58bccc9..c93df91 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -247,7 +247,7 @@ const auxgetinfo = function(L, what, ar, f, ci) { case 'n': { let r = getfuncname(L, ci); if (r === null) { - ar.namewhat = defs.to_luastring(""); + ar.namewhat = defs.to_luastring("", true); ar.name = null; } else { ar.namewhat = r.funcname; -- cgit v1.2.3-54-g00ecf