summaryrefslogtreecommitdiff
path: root/src/ldo.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldo.js')
-rw-r--r--src/ldo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldo.js b/src/ldo.js
index 8d12c9f..4345b15 100644
--- a/src/ldo.js
+++ b/src/ldo.js
@@ -509,7 +509,7 @@ const f_parser = function(L, data) {
let p = new BytecodeParser(data);
let cl = p.luaU_undump(L);
- assert(cl.nupvalues == cl.p.upvalues.length);
+ assert(cl.nupvalues === cl.p.upvalues.length);
lfunc.luaF_initupvals(L, cl);
};