| 544 | |
| 545 | |
| 546 | l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) { |
| 547 | if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; |
| 548 | lua_assert(!ttisstring(p1) && !ttisnumber(p1)); |
| 549 | luaG_typeerror(L, p1, "concatenate"); |
| 550 | } |
| 551 | |
| 552 | |
| 553 | l_noret luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) { |
no test coverage detected