[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: To be closed variable from for in loop might not be closed
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 24 Aug 2022 17:34:36 -0300
> > > I found that the leaveblock function might generate an OP_CLOSE bytecode
> > > which will not close the to be closed variable of a for in loop when the
> > > break label generated in https://github.com/lua/lua/blob/8426d9b4d4df1da3c5b2d759e509ae1c50a86667/lparser.c#L677-L680
> > > already generated an OP_CLOSE bytecode which does not take the to be
> > > closed variable from the loop into account.
> > Many thanks for the report.
> >
> > -- Roberto
> As the Github mirror was just updated and this problem seems not to be
> fixed so far I wanted to make sure that it is not forgotten.
It was not. Actually, I updated the Github exactly to "clear" things
before fixing that one, which I just did :-)
Thanks for the reminder, anyway.
-- Roberto