HaxeFoundation / HaxeFoundation/as3hx

as3hx.Compat.parseInt() instead of Std.parseInt()

Open
#55 3 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.