`parseInt` panics for invalid radixes instead of returning `NaN`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, rust
- Domain
- compilers
Research direction
Start by running or reading /test262/test/built-ins/parseInt/S15.1.2.2_A4.2_T2.js, which currently fails for invalid radixes. Trace the Rust parseInt implementation from the test262 entry point and verify that the test completes with NaN rather than a panic.
Written by the indexing model from the issue text.
Description
Causes /test262/test/built-ins/parseInt/S15.1.2.2_A4.2_T2.js to fail.
- Dominant language
- Rust
- Stars
- 54
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from y21/dash
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
`parseInt(x, undefined)` and `parseInt(x, null)` should be treated as if they were `parseInt(x, 10)` Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
AST
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
A-rt bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
A-vm bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·