MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaG_concaterror

Function luaG_concaterror

deps/lua/src/ldebug.c:581–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579
580
581void 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
588void luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) {

Callers 1

luaV_concatFunction · 0.85

Calls 1

luaG_typeerrorFunction · 0.85

Tested by

no test coverage detected