# # # patch "lua/ldebug.cc" # from [002b1d61fd4c08b09210de8359e231b3492856cb] # to [12397d0afadabc35c580b4031b9a1223d7efd02d] # ============================================================ --- lua/ldebug.cc 002b1d61fd4c08b09210de8359e231b3492856cb +++ lua/ldebug.cc 12397d0afadabc35c580b4031b9a1223d7efd02d @@ -563,8 +563,8 @@ void luaG_concaterror (lua_State *L, Stk void luaG_concaterror (lua_State *L, StkId p1, StkId p2) { - if (ttisstring(p1)) p1 = p2; - lua_assert(!ttisstring(p1)); + if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; + lua_assert(!ttisstring(p1) && !ttisnumber(p1)); luaG_typeerror(L, p1, "concatenate"); }