summaryrefslogtreecommitdiff
path: root/src/ltm.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-14 16:02:21 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-14 16:02:21 +0100
commit8e19f368c2c40d99a92b39c6f566c7bcb2af6cf7 (patch)
treeeacae97261255f4af1de2ecdf550e5052d4c27b9 /src/ltm.js
parent4f76b9ac649cfa47b61f6b29af8c24e08cafec33 (diff)
downloadfengari-8e19f368c2c40d99a92b39c6f566c7bcb2af6cf7.tar.gz
fengari-8e19f368c2c40d99a92b39c6f566c7bcb2af6cf7.tar.bz2
fengari-8e19f368c2c40d99a92b39c6f566c7bcb2af6cf7.zip
binary op tag methods
Diffstat (limited to 'src/ltm.js')
-rw-r--r--src/ltm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltm.js b/src/ltm.js
index c712160..4dc9cc7 100644
--- a/src/ltm.js
+++ b/src/ltm.js
@@ -73,7 +73,7 @@ const luaT_callbinTM = function(L, p1, p2, res, event) {
};
const luaT_trybinTM = function(L, p1, p2, res, event) {
- if (!luaT_gettmbyobj(L, p1, p2, res, event)) {
+ if (!luaT_callbinTM(L, p1, p2, res, event)) {
throw new Error("TM error"); // TODO: luaG_error
}
};