Skip to content

Commit 8510e20

Browse files
committed
Apply upstream changes from tc39/ecma402#1019
1 parent 4490a2d commit 8510e20

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec.emu

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,8 @@ contributors: Eemeli Aro
612612
1. Let _locale_ be _pluralRules_.[[Locale]].
613613
1. Let _type_ be _pluralRules_.[[Type]].
614614
1. Let _notation_ be _pluralRules_.[[Notation]].
615-
1. Let _p_ be PluralRuleSelect(_locale_, _type_, _notation_, _s_).
615+
1. Let _compactDisplay_ be _pluralRules_.[[CompactDisplay]].
616+
1. Let _p_ be PluralRuleSelect(_locale_, _type_, _notation_, _compactDisplay_, _s_).
616617
1. Return the Record { [[PluralCategory]]: _p_, [[FormattedString]]: _s_ }.
617618
</emu-alg>
618619
</emu-clause>
@@ -638,7 +639,8 @@ contributors: Eemeli Aro
638639
1. Let _locale_ be _pluralRules_.[[Locale]].
639640
1. Let _type_ be _pluralRules_.[[Type]].
640641
1. Let _notation_ be _pluralRules_.[[Notation]].
641-
1. Return PluralRuleSelectRange(_locale_, _type_, _notation_, _xp_.[[PluralCategory]], _yp_.[[PluralCategory]]).
642+
1. Let _compactDisplay_ be _pluralRules_.[[CompactDisplay]].
643+
1. Return PluralRuleSelectRange(_locale_, _type_, _notation_, _compactDisplay_, _xp_.[[PluralCategory]], _yp_.[[PluralCategory]]).
642644
</emu-alg>
643645
</emu-clause>
644646
</emu-clause>

0 commit comments

Comments
 (0)