HaxeFoundation / HaxeFoundation/as3hx
as3hx.Compat.parseInt() instead of Std.parseInt()
Open
- Dominant language
- Haxe
- Stars
- 180
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
``` as3
// as3
subTextureRegion.x = int(subTextureObject[ConstValues.A_X]) / scale;
```
``` Haxe
// Haxe
subTextureRegion.x = as3hx.Compat.parseInt(subTextureObject[ConstValues.A_X]) / scale;
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the conversion logic for ActionScript int() calls and compare its current output with the examples in this issue. Confirm that the generated Haxe uses as3hx.Compat.parseInt rather than Std.parseInt, then verify the converted output for this case.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100