diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-27 17:58:58 +1000 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-04-28 14:15:58 +0200 |
commit | 58bd4012506e6dfc92dd819d4e43acad18e8b914 (patch) | |
tree | 1db44a36cdd61d8629e3485a80fe9a57997e04b8 /src/lobject.js | |
parent | 18fde8bd2285ad45baa9f9b2f16b40fb6bd3b2dd (diff) | |
download | fengari-58bd4012506e6dfc92dd819d4e43acad18e8b914.tar.gz fengari-58bd4012506e6dfc92dd819d4e43acad18e8b914.tar.bz2 fengari-58bd4012506e6dfc92dd819d4e43acad18e8b914.zip |
lua_State shouldn't subclass TValue
Diffstat (limited to 'src/lobject.js')
-rw-r--r-- | src/lobject.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lobject.js b/src/lobject.js index f7d07d7..5a202d4 100644 --- a/src/lobject.js +++ b/src/lobject.js @@ -167,6 +167,7 @@ const table_keyValue = function(key) { if ([CT.LUA_TNIL, CT.LUA_TBOOLEAN, CT.LUA_TSTRING, + CT.LUA_TTHREAD, CT.LUA_TNUMINT].indexOf(key.type) > -1) { key = key.value; } else if ([CT.LUA_TSHRSTR, CT.LUA_TLNGSTR].indexOf(key.type) > -1) { |