diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-08 17:44:41 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-08 17:44:41 +1000 |
commit | 28f53e175e1609fc5882b571a726c6761151b05d (patch) | |
tree | 4e7f681f30014af4213d6f0927d031e33ca4e4cb /src | |
parent | 698a10a3aaa3b5df0c22597e9b92a89b4f921632 (diff) | |
download | fengari-28f53e175e1609fc5882b571a726c6761151b05d.tar.gz fengari-28f53e175e1609fc5882b571a726c6761151b05d.tar.bz2 fengari-28f53e175e1609fc5882b571a726c6761151b05d.zip |
src/ltm.js: All stack items should be non-shared TValues
Diffstat (limited to 'src')
-rw-r--r-- | src/ltm.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ const luaT_callTM = function(L, f, p1, p2, p3, hasres) { L.top += 3; if (!hasres) /* no result? 'p3' is third argument */ - L.stack[L.top++] = p3; /* 3rd argument */ + L.stack[L.top++] = new lobject.TValue(p3.type, p3.value); /* 3rd argument */ if (L.ci.callstatus & lstate.CIST_LUA) ldo.luaD_call(L, func, hasres); |