From 59d5ff59e3b9eacc2b2aa8e92e71f31914d09545 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 2 May 2017 18:44:13 +1000 Subject: src/debug.js: Fix incorrect argument order to new TValue --- src/ldebug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldebug.js b/src/ldebug.js index c9c4c1e..d429457 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -183,7 +183,7 @@ const collectvalidlines = function(L, f) { let t = new TValue(CT.LUA_TTABLE, ltable.luaH_new(L)); L.stack[L.top++] = t; assert(L.top <= L.ci.top, "stack overflow"); - let v = new TValue(true, CT.LUA_TBOOLEAN); + let v = new TValue(CT.LUA_TBOOLEAN, true); for (let i = 0; i < f.l.p.length; i++) lobject.table_newindex(t, lineinfo[i], v); } -- cgit v1.2.3-70-g09d2