[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: "To-be-closed" upvalue cleanup opportunity?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 8 Nov 2022 10:19:07 -0300
> I believe the 'tbc' field of UpVal:
> is unnecessary since the to-be-closed variable handling changes starting with
> https://github.com/lua/lua/commit/4e47f81188d37e29027158b76271d02a781242e2 .
> It's only referenced in newupval, which is never called with anything
> but 0 for the value.
That's right. Thanks for the report.