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 missing dot operator in Intl.Segmenter-related objects #878

Closed
wants to merge 4 commits into from

Conversation

ben-allen
Copy link
Contributor

The intrinsics %Intl.SegmentIteratorPrototype% and %Intl.SegmentsPrototype% had been written without the member access operator, i.e. %IntlSegmentIteratorPrototype% and %IntlSegmentsPrototype%. Also regularized wording of <emu-clause> id attributes

@@ -92,12 +92,12 @@ <h1>Well-Known Intrinsic Objects</h1>
<td>The `Intl.Segmenter` constructor (<emu-xref href="#sec-intl-segmenter-constructor"></emu-xref>)</td>
</tr>
<tr>
<td>%IntlSegmentIteratorPrototype%</td>
<td>%Intl.SegmentIteratorPrototype%</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per Well-Known Intrinsic Objects, the syntax %Intl.SegmentIteratorPrototype% means that the "SegmentIteratorPrototype" property of the intrinsic object %Intl% is accessed. This wrong because there's no Intl.SegmentIteratorPrototype property and therefore the intrinsic name %IntlSegmentIteratorPrototype% has to be kept.

@ryzokuken ryzokuken added the editorial Involves an editorial fix label Apr 25, 2024
@ben-allen
Copy link
Contributor Author

Closing as wrong / a bad idea

@ben-allen ben-allen closed this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Involves an editorial fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants