You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed major issue: All GC objects must be created with ctb(LuaT::*)
to include the collectable bit. Updated:
- All object creation sites (Table, Udata, TString, functions, etc.)
- Main thread creation in lua_newstate
- Type comparisons in assertions and conditionals
- Switch statements in gc_core.cpp (partial)
Remaining work:
- Fix 7 more switch statements on getType() in:
* gc_marking.cpp (2 switches)
* lgc.cpp (2 switches)
* ltests.cpp (2 switches)
* gc_core.cpp (1 more switch)
All switches need: static_cast<int>(getType()) and
static_cast<int>(ctb(LuaT::*)) for case labels.
0 commit comments