diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-02 18:44:13 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-02 18:44:23 +1000 |
commit | 59d5ff59e3b9eacc2b2aa8e92e71f31914d09545 (patch) | |
tree | 03d49ca0df2318895bed4cd6b1dfef4ba7e8ef56 | |
parent | d9865ac5163f467268dcd894320bb283e053badb (diff) | |
download | fengari-59d5ff59e3b9eacc2b2aa8e92e71f31914d09545.tar.gz fengari-59d5ff59e3b9eacc2b2aa8e92e71f31914d09545.tar.bz2 fengari-59d5ff59e3b9eacc2b2aa8e92e71f31914d09545.zip |
src/debug.js: Fix incorrect argument order to new TValue
-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 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); } |