lua-users home
lua-l archive

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


On Mon, Nov 23, 2015 at 7:15 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> the "easy" solution is that those characteristics should be tied to
> the value, not the variable.

Exactly. If there is a new builtin function for registering values for
cleanup on scope exit, then that builtin could also register
functions, a la Go's defer.