aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-10 15:45:05 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-11 08:44:58 +0200
commit762c1e3594a8c2eac03dd2a1a005d8712ce9635f (patch)
tree6ddda36b4e0d74c9e268c42a7ca98c04322a4274 /src
parent011c821b3a94c0d2fa8892696178c76aed4c2349 (diff)
downloadfengari-762c1e3594a8c2eac03dd2a1a005d8712ce9635f.tar.gz
fengari-762c1e3594a8c2eac03dd2a1a005d8712ce9635f.tar.bz2
fengari-762c1e3594a8c2eac03dd2a1a005d8712ce9635f.zip
[test-suite] events.js
Diffstat (limited to 'src')
-rw-r--r--src/ltable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltable.js b/src/ltable.js
index b1f48e8..ce3ba77 100644
--- a/src/ltable.js
+++ b/src/ltable.js
@@ -139,7 +139,7 @@ const luaH_next = function(L, table, keyI) {
if (!table.strong.has(hash))
/* item not in table */
- return ldebug.luaG_runerror(L, "invalid key to 'next'");
+ return ldebug.luaG_runerror(L, defs.to_luastring("invalid key to 'next'"))
let indexes = table.strong.keys();
while (1) {