lua-users home
lua-l archive

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



On 2017-09-19 08:49 AM, Roberto Ierusalimschy wrote:
generated from the __gc metamethod (even though the lines do get
executed):

[...]

"GC" is printed, but no line event is generated. I get the same result
with Lua 5.2. Is this by design?
Yes.

-- Roberto

Out of curiosity, what would happen if this were changed? (Say, to 
support sandboxing of __gc metamethod.)
--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.