You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is a code which works with 4.3.4 but not with 5.0 ( https://try.haxe.org/#3F583427 ): in 5.0, using ?? cause onEnd first being cast to EndFun before test against null.
Thanks to Rudy I found that the test fail after this commit 39642c9 ( #11425 )
Hmm... the problem here is that the expected type is EndFun because that's what call wants as an argument, and then we pass a Void->Void to it and that causes a cast. That cast should clearly happen after the null-check though, not before.
Here is a code which works with 4.3.4 but not with 5.0 ( https://try.haxe.org/#3F583427 ): in 5.0, using
??
causeonEnd
first being cast to EndFun before test against null.Thanks to Rudy I found that the test fail after this commit 39642c9 ( #11425 )
The text was updated successfully, but these errors were encountered: