Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: Fix Intl.PluralRules after the merging of PR 811 #829

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

FrankYFTang
Copy link
Contributor

Split the editorial fix from #811

  1. Add text to explain ComputedRoundingPriority in section "15.4 Properties of Intl.NumberFormat Instances" https://tc39.es/ecma402/#sec-properties-of-intl-numberformat-instances and "16.4 Properties of Intl.PluralRules Instances
    https://tc39.es/ecma402/#sec-properties-of-intl-pluralrules-instances

  2. Add ComputedRoundingPriority to Intl.PluralRules https://tc39.es/ecma402/#sec-intl.pluralrules Without this, the spec is not implementable because InitializePluralRules call "SetNumberFormatDigitOptions(pluralRules, options, +0𝔽, 3𝔽, "standard")." and SetNumberFormatDigitOptions assume the intlObj has [[ComputedRoundingPriority]]

Split the editorial fix from tc39#811

1. Add text to explain ComputedRoundingPriority in section "15.4 Properties of Intl.NumberFormat Instances"
https://tc39.es/ecma402/#sec-properties-of-intl-numberformat-instances and
"16.4 Properties of Intl.PluralRules Instances
https://tc39.es/ecma402/#sec-properties-of-intl-pluralrules-instances

2. Add ComputedRoundingPriority to Intl.PluralRules https://tc39.es/ecma402/#sec-intl.pluralrules
Without this, the spec is not implementable because InitializePluralRules call "SetNumberFormatDigitOptions(pluralRules, options, +0𝔽, 3𝔽, "standard")." and SetNumberFormatDigitOptions assume the intlObj has [[ComputedRoundingPriority]]
@FrankYFTang FrankYFTang changed the title [Editorial] Fix Intl.PluralRules after the merging of PR 811 Editorial: Fix Intl.PluralRules after the merging of PR 811 Aug 24, 2023
@gibson042 gibson042 merged commit 51885dc into tc39:master Sep 7, 2023
2 checks passed
@FrankYFTang FrankYFTang deleted the fixPlurl branch September 8, 2023 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants