From 309cdf8b9bdf8d45196eb94bda7588ddac8915c6 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 May 2017 00:10:38 +1000 Subject: src/ldebug.js: namewhat should always contain a string --- 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 b427e76..1862e55 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -242,7 +242,7 @@ const auxgetinfo = function(L, what, ar, f, ci) { case 'n': { let r = getfuncname(L, ci); if (r === null) { - ar.namewhat = null; + ar.namewhat = []; ar.name = null; } else { ar.namewhat = r.funcname; -- cgit v1.2.3-54-g00ecf