diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-03-05 15:57:04 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-03-05 15:57:04 +0100 |
commit | 2ac8543dfd87f4c227385d6890bfcb011fc341f1 (patch) | |
tree | e122a3d4c28406aadeba2557f76bb123a34025ef /src/ltm.js | |
parent | db136649e45a63edb8bc511e756249a9e6ca9ea7 (diff) | |
download | fengari-2ac8543dfd87f4c227385d6890bfcb011fc341f1.tar.gz fengari-2ac8543dfd87f4c227385d6890bfcb011fc341f1.tar.bz2 fengari-2ac8543dfd87f4c227385d6890bfcb011fc341f1.zip |
lstrlib, string.len
Diffstat (limited to 'src/ltm.js')
-rw-r--r-- | src/ltm.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ const luaT_gettmbyobj = function(L, o, event) { mt = o.metatable; break; default: - // TODO: mt = G(L)->mt[ttnov(o)]; + mt = L.l_G.mt[o.ttnov()]; } return mt ? mt.__index(mt, event) : ldo.nil; |