HaxeFoundation / HaxeFoundation/haxe
UInt compare issues
Open
bug
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
The following example:
``` haxe
package unit.issues;
class Issue5019 extends Test {
@:keep static inline var VALUE:UInt = 0x9747b28c;
@:keep static var VALUE2:UInt = 0x9747b28c;
function test() {
t(VALUE > 0);
t(VALUE2 == 0x9747b28c);
}
}
```
Gets passed to the generator the following way:
``` haxe
t(false);
t(VALUE2 == (0x9747b28c : Int));
```
which make both examples fail
Contributor guide
Assessment
This issue has not been assessed yet.