Closed rainyt closed 1 year ago
Hey, I’ll investigate this more thoroughly to this soon, life is very hectic for me this week
The reason for var self
is because if $expr is not-trivial, it could be doing complex things like mutating state and having it copied several times can lead to issues (which is what made me add var self to begin with)
this should work but the bug you’re seeing looks to be a haxe/hxcpp issue - if you can make a small reproducible example it would be great to open an issue on the haxe repository and see if we can get it resolved in the compiler
I think this is resolved thanks to compiler changes, closing (see #16)
It seems to have recreated a variable from the time it was obtained, but it should actually be ignored.
Test Haxe: