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 aa57aef..7c892a5 100644
--- a/src/ldebug.js
+++ b/src/ldebug.js
@@ -78,7 +78,7 @@ const funcinfo = function(ar, cl) {
const collectvalidlines = function(L, f) {
if (f === null || f.c.type === CT.LUA_TCCL) {
- L.stack[L.top++] = ldo.nil;
+ L.stack[L.top++] = new TValue(CT.LUA_TNIL, null);
assert(L.top <= L.ci.top, "stack overflow");
} else {
let lineinfo = f.l.p.lineinfo;