lua-users home
lua-l archive

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


Roberto Ierusalimschy:

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.

Regards,
Xmilia