From a02f4e93b92e7ebb7ef038ad151e51652b0ce84d Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Tue, 18 Apr 2017 15:20:37 +0200 Subject: No more Table, just TValue with table type and Map value --- src/ldblib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ldblib.js') diff --git a/src/ldblib.js b/src/ldblib.js index c637af2..a4de832 100644 --- a/src/ldblib.js +++ b/src/ldblib.js @@ -15,7 +15,7 @@ const ldebug = require('./ldebug.js'); */ const checkstack = function(L, L1, n) { if (L !== L1 && !lapi.lua_checkstack(L1, n)) - lauxlib.luaL_error(L, "stack overflow"); + lauxlib.luaL_error(L, lua.to_luastring("stack overflow", true)); }; const db_getregistry = function(L) { -- cgit v1.2.3-54-g00ecf