Open yuxiaomao opened 2 months ago
In summary:
Cpp fail because when comparing null <= null
, it convert the value to 0 first (I don't think it's really a problem by itself).
Php fail because I added analyzer(ignore) on testOps. Probably the assign does not worked:
var k = false;
f((k = true) ? false : true);
t(k);
Lua: I can't understand the error 😢
When I made the HL implementation for null ops, I found that we can have some more spec tests
<
/>
/<=
/>=
betweennull
values: it does not really make sens but I think it's good to ensure the same behaviornull : Null<Int>
and0 : Null<Int>
: it's different thanNull<Int>
withInt
, at least the code generated by HL is differentIt seems work as expected on HL, let's see if tests pass for other target.