-
Notifications
You must be signed in to change notification settings - Fork 165
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
Conversation
Also drive-by Completion -> Completion Record to match ecma262 style.
I can't seem to request reviewers, cc @domenic |
@@ -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|). |
There was a problem hiding this comment.
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.
This comment was marked as off-topic.
Sorry, something went wrong.
There was a problem hiding this 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!
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'sbiblio.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