Skip to content

test262 intl402/NumberFormat — 62 (self-contained worklist) #5837

Description

@proggeramlug

Self-contained worklist — 62 failing. Snapshot 2026-07-01 full sweep (perry 0.5.1209, node v26.3.0). Everything you need is in this issue; no history to read, no re-measure to start.

Intl.NumberFormat formatToParts, notation/compactDisplay/signDisplay, rounding modes, locale negotiation + arg-validation negatives. Crate: perry-stdlib (intl).

Setup (any box)

git clone https://github.com/PerryTS/perry && cd perry
cargo build --release -p perry -p perry-runtime-static -p perry-stdlib-static
git clone --depth 1 https://github.com/tc39/test262 vendor/test262   # checkout test-compat/test262/pinned-sha.txt
# node on PATH (differential oracle). See test-compat/test262/README.md.

Measure/verify: scripts/test262_subset.py --root vendor/test262 --dir intl402/NumberFormat --jobs 8 (the .failures.txt sidecar lists failures; diff before/after for zero-regression).

Failure reasons

n reason
5 Uncaught exception: Expected SameValue(«"-987 kilometer
4 (no output)
4 Uncaught exception: Compact short: 987654321: length Ex
4 Uncaught exception: zero: length Expected SameValue(«4»
4 Uncaught exception: negativeNearZero: length Expected S
4 Uncaught exception: undefined: parts[3].value Expected
2 Uncaught exception: Formatted value for 1.23, en-US-u-n
2 Uncaught exception: Expected SameValue(«"988M"», «"9.9億
2 Uncaught exception: Expected SameValue(«"(987,00 $)"»,
2 Uncaught exception: Expected SameValue(«"$0.00"», «"+$0
2 Uncaught exception: Expected SameValue(«"US$0.00"», «"+
2 Uncaught exception: Expected SameValue(«"($0.00)"», «"$

All 62 failing cases (path — reason)

intl402/NumberFormat/constructor-locales-get-tostring.js    (no output)
intl402/NumberFormat/constructor-locales-hasproperty.js    (no output)
intl402/NumberFormat/constructor-option-read-order.js    (no output)
intl402/NumberFormat/currency-digits-nonstandard-notation.js    Uncaught exception: Didn't get correct maximumFractionDigits for JPY in engineer
intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js    Uncaught exception: Expected SameValue(«2», «1») to be true
intl402/NumberFormat/ignore-invalid-unicode-ext-values.js    Uncaught exception: Locale ja-JP-u-cu-usd is affected by key cu; value USD. Expe
intl402/NumberFormat/intl-legacy-constructed-symbol-on-unwrap.js    (no output)
intl402/NumberFormat/intl-legacy-constructed-symbol-property.js    Uncaught exception: return value of Intl.NumberFormat constructor Expected SameV
intl402/NumberFormat/intl-legacy-constructed-symbol.js    Uncaught exception: Expected true but got false
intl402/NumberFormat/prototype/format/format-rounding-priority-less-precision.js    Uncaught exception: Formatted value for 1.23, en-US-u-nu-arab and options {"useG
intl402/NumberFormat/prototype/format/format-rounding-priority-more-precision.js    Uncaught exception: Formatted value for 1.23, en-US-u-nu-arab and options {"useG
intl402/NumberFormat/prototype/format/notation-compact-de-DE.js    Uncaught exception: Expected SameValue(«"988M"», «"988 Mio."») to be true
intl402/NumberFormat/prototype/format/notation-compact-ja-JP.js    Uncaught exception: Expected SameValue(«"988M"», «"9.9億"») to be true
intl402/NumberFormat/prototype/format/notation-compact-ko-KR.js    Uncaught exception: Expected SameValue(«"988M"», «"9.9억"») to be true
intl402/NumberFormat/prototype/format/notation-compact-zh-TW.js    Uncaught exception: Expected SameValue(«"988M"», «"9.9億"») to be true
intl402/NumberFormat/prototype/format/signDisplay-currency-de-DE.js    Uncaught exception: Expected SameValue(«"(987,00 $)"», «"-987,00 $"») to be true
intl402/NumberFormat/prototype/format/signDisplay-currency-en-US.js    Uncaught exception: Expected SameValue(«"$0.00"», «"+$0.00"») to be true
intl402/NumberFormat/prototype/format/signDisplay-currency-ja-JP.js    Uncaught exception: Expected SameValue(«"$0.00"», «"+$0.00"») to be true
intl402/NumberFormat/prototype/format/signDisplay-currency-ko-KR.js    Uncaught exception: Expected SameValue(«"US$0.00"», «"+US$0.00"») to be true
intl402/NumberFormat/prototype/format/signDisplay-currency-zh-TW.js    Uncaught exception: Expected SameValue(«"US$0.00"», «"+US$0.00"») to be true
intl402/NumberFormat/prototype/format/signDisplay-negative-currency-de-DE.js    Uncaught exception: Expected SameValue(«"(987,00 $)"», «"-987,00 $"») to be true
intl402/NumberFormat/prototype/format/signDisplay-negative-currency-en-US.js    Uncaught exception: Expected SameValue(«"($0.00)"», «"$0.00"») to be true
intl402/NumberFormat/prototype/format/signDisplay-negative-currency-ja-JP.js    Uncaught exception: Expected SameValue(«"($0.00)"», «"$0.00"») to be true
intl402/NumberFormat/prototype/format/signDisplay-negative-currency-ko-KR.js    Uncaught exception: Expected SameValue(«"(US$0.00)"», «"US$0.00"») to be true
intl402/NumberFormat/prototype/format/signDisplay-negative-currency-zh-TW.js    Uncaught exception: Expected SameValue(«"(US$0.00)"», «"US$0.00"») to be true
intl402/NumberFormat/prototype/format/unit-de-DE.js    Uncaught exception: Expected SameValue(«"-987 kilometer-per-hour"», «"-987 km/h"
intl402/NumberFormat/prototype/format/unit-en-US.js    Uncaught exception: Expected SameValue(«"-987 kilometer-per-hour"», «"-987 km/h"
intl402/NumberFormat/prototype/format/unit-ja-JP.js    Uncaught exception: Expected SameValue(«"-987 kilometer-per-hour"», «"-987 km/h"
intl402/NumberFormat/prototype/format/unit-ko-KR.js    Uncaught exception: Expected SameValue(«"-987 kilometer-per-hour"», «"-987km/h"»
intl402/NumberFormat/prototype/format/unit-zh-TW.js    Uncaught exception: Expected SameValue(«"-987 kilometer-per-hour"», «"-987 公里/小時
intl402/NumberFormat/prototype/format/units.js    Uncaught exception: Expected SameValue(«"123"», «"123"») to be false
intl402/NumberFormat/prototype/format/useGrouping-en-IN.js    Uncaught exception: (omitted) Expected SameValue(«"100,000"», «"1,00,000"») to b
intl402/NumberFormat/prototype/format/useGrouping-extended-de-DE.js    Uncaught exception: notation: "compact" Expected SameValue(«"1K"», «"1000"») to 
intl402/NumberFormat/prototype/format/useGrouping-extended-en-IN.js    Uncaught exception: "always" Expected SameValue(«"100,000"», «"1,00,000"») to be
intl402/NumberFormat/prototype/format/value-decimal-string.js    Uncaught exception: Expected SameValue(«"1"», «"1.0000000000000001"») to be true
intl402/NumberFormat/prototype/formatRange/en-US.js    Uncaught exception: Expected SameValue(«"$3.00–$5.00"», «"$3 – $5"») to be true
intl402/NumberFormat/prototype/formatRange/pt-PT.js    Uncaught exception: Expected SameValue(«"€3.00–€5.00"», «"3 - 5 €"») to be true
intl402/NumberFormat/prototype/formatRangeToParts/en-US.js    Uncaught exception: Expected SameValue(«9», «5») to be true
intl402/NumberFormat/prototype/formatToParts/notation-compact-de-DE.js    Uncaught exception: Compact short: 987654321: length Expected SameValue(«2», «3»
intl402/NumberFormat/prototype/formatToParts/notation-compact-ja-JP.js    Uncaught exception: Compact short: 987654321: length Expected SameValue(«2», «4»
intl402/NumberFormat/prototype/formatToParts/notation-compact-ko-KR.js    Uncaught exception: Compact short: 987654321: length Expected SameValue(«2», «4»
intl402/NumberFormat/prototype/formatToParts/notation-compact-zh-TW.js    Uncaught exception: Compact short: 987654321: length Expected SameValue(«2», «4»
intl402/NumberFormat/prototype/formatToParts/percent-en-US.js    Uncaught exception: unit: length Expected SameValue(«4», «3») to be true
intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-de-DE.js    Uncaught exception: negative: length Expected SameValue(«7», «6») to be true
intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-en-US.js    Uncaught exception: zero: length Expected SameValue(«4», «5») to be true
intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-ja-JP.js    Uncaught exception: zero: length Expected SameValue(«4», «5») to be true
intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-ko-KR.js    Uncaught exception: zero: length Expected SameValue(«4», «5») to be true
intl402/NumberFormat/prototype/formatToParts/signDisplay-currency-zh-TW.js    Uncaught exception: zero: length Expected SameValue(«4», «5») to be true
intl402/NumberFormat/prototype/formatToParts/signDisplay-negative-currency-de-DE.js    Uncaught exception: negative: length Expected SameValue(«7», «6») to be true
intl402/NumberFormat/prototype/formatToParts/signDisplay-negative-currency-en-US.js    Uncaught exception: negativeNearZero: length Expected SameValue(«6», «4») to be 
intl402/NumberFormat/prototype/formatToParts/signDisplay-negative-currency-ja-JP.js    Uncaught exception: negativeNearZero: length Expected SameValue(«6», «4») to be 
intl402/NumberFormat/prototype/formatToParts/signDisplay-negative-currency-ko-KR.js    Uncaught exception: negativeNearZero: length Expected SameValue(«6», «4») to be 
intl402/NumberFormat/prototype/formatToParts/signDisplay-negative-currency-zh-TW.js    Uncaught exception: negativeNearZero: length Expected SameValue(«6», «4») to be 
intl402/NumberFormat/prototype/formatToParts/unit-de-DE.js    Uncaught exception: undefined: parts[3].value Expected SameValue(«"kilometer-per
intl402/NumberFormat/prototype/formatToParts/unit-en-US.js    Uncaught exception: undefined: parts[3].value Expected SameValue(«"kilometer-per
intl402/NumberFormat/prototype/formatToParts/unit-ja-JP.js    Uncaught exception: undefined: parts[3].value Expected SameValue(«"kilometer-per
intl402/NumberFormat/prototype/formatToParts/unit-ko-KR.js    Uncaught exception: undefined: length Expected SameValue(«4», «3») to be true
intl402/NumberFormat/prototype/formatToParts/unit-zh-TW.js    Uncaught exception: undefined: parts[3].value Expected SameValue(«"kilometer-per
intl402/NumberFormat/prototype/resolvedOptions/resolved-numbering-system-unicode-extensions-and-options.js    Uncaught exception: Resolved numberingSystem for locale=en-u-nu-arab with number
intl402/NumberFormat/prototype/toStringTag/configurable.js    Uncaught exception: Expected SameValue(«"Intl.NumberFormat"», «"Alpha"») to be t
intl402/NumberFormat/subclassing.js    TypeError: undefined is not a function
intl402/NumberFormat/test-option-roundingPriority-mixed-options.js    Uncaught exception: Formatted value for 1.625, en-US-u-nu-arab and options {"max

Workflow

Pick a coherent single-root subcluster, localize (cargo run --release -- f.ts --trace hir --focus <fn> / --trace llvm), fix, verify listed cases pass AND re-run the slice for zero regressions. Code-only PR (no Cargo.toml/Cargo.lock version bump, no CLAUDE.md Current-Version, no CHANGELOG — maintainer folds metadata). cargo fmt --all -- --check + bash scripts/check_file_size.sh must pass (files < 2000 lines). Reference this issue. Never reference internal infrastructure hostnames.

Metadata

Metadata

Assignees

No one assigned

    Labels

    parityCompatibility gap with Node.js, ECMAScript, or the supported ecosystem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions