Closed yuxiaomao closed 3 months ago
Oh Flash ! I'll remove the test file after CI run. Just to ensure that it works on HL.
Maybe merge this with #8426 so we have the changes and tests in one place?
I would like to, but as you can see in the CI of previous commit, the flash test fail. Should I make an exception for flash target?
Yes we're not going to fix it for Flash.
Null<Int/Float>
, first test with null (if null return false), then safecast and compare the value. For https://github.com/HaxeFoundation/haxe/pull/8426Null<Int/Float/Bool>
withInt/Float/bool
, first test with null (if null return false), then safecast and compare, reduce the use of todyn (memory allocation). For https://github.com/HaxeFoundation/haxe/issues/11416common_type
with the use ofcommon_type_number
, so that the recursion is more cleareval_expr
usejump_expr
in case of comparison