diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ltable.js | 2 |
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) { |