summaryrefslogtreecommitdiff
path: root/src/ldebug.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldebug.js')
-rw-r--r--src/ldebug.js2
1 files changed, 1 insertions, 1 deletions
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;