[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: __close: presence and time of evaluation
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 4 Oct 2019 15:57:40 -0300
> 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