diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-22 00:10:38 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-22 00:50:36 +1000 |
commit | 309cdf8b9bdf8d45196eb94bda7588ddac8915c6 (patch) | |
tree | 4ecb6bb30a36fe257cbe21da6bcb12add4141511 /src/ldebug.js | |
parent | 7ac843a05895dc9722cf8e515049fbbc82b01a05 (diff) | |
download | fengari-309cdf8b9bdf8d45196eb94bda7588ddac8915c6.tar.gz fengari-309cdf8b9bdf8d45196eb94bda7588ddac8915c6.tar.bz2 fengari-309cdf8b9bdf8d45196eb94bda7588ddac8915c6.zip |
src/ldebug.js: namewhat should always contain a string
Diffstat (limited to 'src/ldebug.js')
-rw-r--r-- | src/ldebug.js | 2 |
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; |