diff --git a/lua-temp/tyche-vm.lua b/lua-temp/tyche-vm.lua index 92458a8..e63616b 100644 --- a/lua-temp/tyche-vm.lua +++ b/lua-temp/tyche-vm.lua @@ -246,6 +246,8 @@ function Heap:call_gc(roots) for _,v in ipairs(roots) do -- TODO - recursive, add support to array if v.type == 'string' and v.ref then marked[v.ref] = true + else + error("Can't handle this type on GC") end end