HaxeFoundation / HaxeFoundation/haxe
Std.parseInt returns an UInt on JS target
Open
documentation
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
```haxe
class Main {
static function main() {
trace( Std.parseInt("0xaabbccdd") ); // 2864434397
trace( 0xaabbccdd ); // -1430532899
trace( Std.parseInt("0xaabbccdd") == 0xaabbccdd ); // false
}
}
```
Contributor guide
Research direction
Reproduce the provided Main example on the JS target, focusing on Std.parseInt and the hexadecimal literal comparison. Trace the relevant compiler or runtime entry point for Std.parseInt; done means the parsed hexadecimal value has the intended signedness and the demonstrated comparison behaves consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100