diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-22 09:00:12 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-22 09:00:12 +0100 |
commit | a40719dc74b8dbb0d6c8fc0272c0d79ad8a7a9ea (patch) | |
tree | a87cbfa7d3e7620b64681f3f738320c58be0f469 /src/lauxlib.js | |
parent | dbe2a3bf2ef8c053e6c596c99e29eb27b6118f1b (diff) | |
download | fengari-a40719dc74b8dbb0d6c8fc0272c0d79ad8a7a9ea.tar.gz fengari-a40719dc74b8dbb0d6c8fc0272c0d79ad8a7a9ea.tar.bz2 fengari-a40719dc74b8dbb0d6c8fc0272c0d79ad8a7a9ea.zip |
select
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r-- | src/lauxlib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js index 3ebcc7d..c44780e 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -92,7 +92,7 @@ const luaL_typename = function(L, i) { }; const luaL_argcheck = function(L, cond, arg, extramsg) { - if (!cond) throw new Error("bad argument"); // TODO: luaL_argerror + if (!cond) throw new Error(extramsg); // TODO: luaL_argerror }; const luaL_checkany = function(L, arg) { |