MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaG_concaterror

Function luaG_concaterror

Source/Misc/lua/src/lua.c:5089–5093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5087
5088
5089void luaG_concaterror (lua_State *L, StkId p1, StkId p2) {
5090if (ttisstring(p1) || ttisnumber(p1)) p1 = p2;
5091lua_assert(!ttisstring(p1) && !ttisnumber(p1));
5092luaG_typeerror(L, p1, "concatenate");
5093}
5094
5095
5096void 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