On Fri, Jun 14, 2019 at 2:27 PM Paul Ducklin wrote:
The <toclose> flag for a variable should simply be set automatically at runtime when the setmetatable() function is called for the variable.
To-be-closed variables should be visible at compile-time because they affect VM instructions in the compiled bytecode.
For example, tailcall is not allowed in the scope of to-be-closed variable.