lua-users home
lua-l archive

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

> Then, it may be inferred that when the variable is being closed, the
> originally seen value of __close will be called, i.e., changes to the value
> of __close in the metatable will not be effective. If this is what is
> indeed implied, it would be good to see that stated as such in the manual.

If someone sets a to-be-closed variable with a value with a given
__close, and than they change that __close before the value is closed,
and they cannot figure out which one will be called, it seems healthy
to keep them ignorant about that.

-- Roberto