Avoid excess unsets
RealyUniqueName opened this issue · comments
Right now unset()
call is generated for each local variable declared inside of a loop.
This is not necessary if those vars are not captured by closure.
Generator behaviour should be changed to generate unset()
only for vars captured in closures.
Implemented in HaxeFoundation@3988316