mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
LibJS: Update spec numbers for the Intl NumberFormat v3 proposal
This proposal has been merged into the main ECMA-402 spec. See: https://github.com/tc39/ecma402/commit/4257160 Note this includes some editorial and normative changes made when the proposal was merged into the main spec, but are not in the proposal spec itself. In particular, the following AOs were changed: PartitionNumberRangePattern (normative) SetNumberFormatDigitOptions (editorial)
This commit is contained in:
committed by
Linus Groh
parent
b411e30024
commit
f816a24b86
@@ -178,7 +178,7 @@ ThrowCompletionOr<Vector<PatternPartitionWithUnit>> partition_relative_time_patt
|
||||
// 20. Let fv be ! PartitionNumberPattern(relativeTimeFormat.[[NumberFormat]], value).
|
||||
auto value_partitions = MUST_OR_THROW_OOM(partition_number_pattern(vm, relative_time_format.number_format(), Value(value)));
|
||||
|
||||
// 21. Let pr be ! ResolvePlural(relativeTimeFormat.[[PluralRules]], value).
|
||||
// 21. Let pr be ! ResolvePlural(relativeTimeFormat.[[PluralRules]], value).[[PluralCategory]].
|
||||
auto plurality = MUST_OR_THROW_OOM(resolve_plural(vm, relative_time_format.plural_rules(), Value(value)));
|
||||
|
||||
// 22. Let pattern be po.[[<pr>]].
|
||||
|
||||
Reference in New Issue
Block a user