From 762c1e3594a8c2eac03dd2a1a005d8712ce9635f Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Wed, 10 May 2017 15:45:05 +0200 Subject: [test-suite] events.js --- src/ltable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2