| 579 | |
| 580 | |
| 581 | void luaG_concaterror (lua_State *L, StkId p1, StkId p2) { |
| 582 | if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; |
| 583 | lua_assert(!ttisstring(p1) && !ttisnumber(p1)); |
| 584 | luaG_typeerror(L, p1, "concatenate"); |
| 585 | } |
| 586 | |
| 587 | |
| 588 | void luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) { |
no test coverage detected