ecma402 icon indicating copy to clipboard operation
ecma402 copied to clipboard

Intl.NumberFormat and Intl.PluralRules don't agree when to call SetNumberFormatDigitOptions

Open anba opened this issue 1 month ago • 1 comments

  • Intl.NumberFormat calls SetNumberFormatDigitOptions after reading "notation", but before reading "compactDisplay".
  • Intl.PluralRules calls SetNumberFormatDigitOptions after reading both "notation" and "compactDisplay".

Note: This was explicitly requested in https://github.com/tc39/ecma402/pull/1019#discussion_r2270347573, but isn't it better to align Intl.NumberFormat and Intl.PluralRules?

anba avatar Nov 06 '25 13:11 anba

From my perspective, Intl.NumberFormat options interactions are a lost cause until we attempt to address #747, at which point everything can hopefully be brought into alignment. But in the meantime, the other service constructors are not yet in that state and should be treated in accord with where we want to end up.

gibson042 avatar Nov 24 '25 15:11 gibson042