lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


setmetatable ({}, {__gc = function() print(1) error("error") print(2) end})

It looks like at the end, garbage collector also collects something required by error() function first. So there is no error message from the code above, lua 5.3.5.