diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-02-28 21:15:16 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-01 09:32:28 +0100 |
commit | 74dda64eab7951da520dc451a1f3bbb8c7d62706 (patch) | |
tree | 26930f74654a0be55cc418c64fa2ba2713e875c6 /src/lbaselib.js | |
parent | dfac155a3f8b650222fa784303e599f4e50abe67 (diff) | |
download | fengari-74dda64eab7951da520dc451a1f3bbb8c7d62706.tar.gz fengari-74dda64eab7951da520dc451a1f3bbb8c7d62706.tar.bz2 fengari-74dda64eab7951da520dc451a1f3bbb8c7d62706.zip |
Bytecode generation
Diffstat (limited to 'src/lbaselib.js')
-rw-r--r-- | src/lbaselib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbaselib.js b/src/lbaselib.js index b663b87..77638d0 100644 --- a/src/lbaselib.js +++ b/src/lbaselib.js @@ -90,7 +90,7 @@ const luaB_rawset = function(L) { const luaB_type = function(L) { let t = lapi.lua_type(L, 1); - lauxlib.luaL_argcheck(L, t != CT.LUA_TNONE, 1, "value expected"); + lauxlib.luaL_argcheck(L, t !== CT.LUA_TNONE, 1, "value expected"); lapi.lua_pushstring(L, lapi.lua_typename(L, t)); return 1; }; |