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: Completion reform for ECMAScript AOs #1111

Merged
merged 5 commits into from
Mar 7, 2022

Conversation

syg
Copy link
Contributor

@syg syg commented Mar 1, 2022

As part of the tc39/ecma262#2547 ecma262 has reformed how it deals with Completion Records. See tc39/ecma262#253 (comment) for a brief description of when to use ? vs ! vs nothing at all.

This PR was generated in part by this script being passed index.bs and a locally generated copy of ecma262's biblio.json.

It is probably easier to review this PR commit-by-commit.

This is the counterpart to whatwg/html#7661.

/cc other ecma262 editors @bakkot and @michaelficarra


Preview | Diff

@syg
Copy link
Contributor Author

syg commented Mar 1, 2022

I can't seem to request reviewers, cc @domenic

index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@@ -7133,7 +7133,7 @@ to its caller, and so on.
Consider the following algorithm:

1. Let |x| be the ECMAScript value passed in to this algorithm.
1. Let |y| be the result of calling <a abstract-op>ToString</a>(|x|).
1. Let |y| be the result of calling [=?=] <a abstract-op>ToString</a>(|x|).
Copy link
Member

Choose a reason for hiding this comment

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

TIL [=?=] is possible, I guess Streams should also use it.

This comment was marked as off-topic.

Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

Very nice, thank you!

@domenic domenic merged commit f8f5650 into whatwg:main Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants