MCPcopy Create free account
hub / github.com/DFHack/dfhack / luaG_typeerror

Function luaG_typeerror

depends/lua/src/ldebug.c:586–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584
585
586l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) {
587 const char *t = luaT_objtypename(L, o);
588 luaG_runerror(L, "attempt to %s a %s value%s", op, t, varinfo(L, o));
589}
590
591
592l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2) {

Callers 6

luaV_finishgetFunction · 0.85
luaV_finishsetFunction · 0.85
luaV_objlenFunction · 0.85
luaG_concaterrorFunction · 0.85
luaG_opinterrorFunction · 0.85
tryfuncTMFunction · 0.85

Calls 3

luaT_objtypenameFunction · 0.85
luaG_runerrorFunction · 0.85
varinfoFunction · 0.85

Tested by

no test coverage detected