Skip to content

Commit aaa71ce

Browse files
trflynn89ryzokuken
authored andcommitted
Editorial: Pass %Intl.Segmenter% to its invocation of ResolveOptions
We do not want to use Intl.NumberFormat's internal slots here.
1 parent 45ee279 commit aaa71ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/segmenter.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>Intl.Segmenter ( [ _locales_ [ , _options_ ] ] )</h1>
1515
1. If NewTarget is *undefined*, throw a *TypeError* exception.
1616
1. Let _internalSlotsList_ be « [[InitializedSegmenter]], [[Locale]], [[SegmenterGranularity]] ».
1717
1. Let _segmenter_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%Intl.Segmenter.prototype%"*, _internalSlotsList_).
18-
1. Let _optionsResolution_ be ? ResolveOptions(%Intl.NumberFormat%, %Intl.NumberFormat%.[[LocaleData]], _locales_, _options_).
18+
1. Let _optionsResolution_ be ? ResolveOptions(%Intl.Segmenter%, %Intl.Segmenter%.[[LocaleData]], _locales_, _options_).
1919
1. Set _options_ to _optionsResolution_.[[Options]].
2020
1. Let _r_ be _optionsResolution_.[[ResolvedLocale]].
2121
1. Set _segmenter_.[[Locale]] to _r_.[[Locale]].

0 commit comments

Comments
 (0)