-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: Add %GeneratorPrototype% and %AsyncGeneratorPrototype% well-known intrinsics (#3230) #3238
Conversation
We generally are trying not to add any more top-level intrinsics, but I agree this might improve readability. |
This will also have to update figure 6: https://tc39.es/ecma262/#figure-2 |
Just to make sure, it's is the following parts, right?
The following seems to be slightly unclear, but it matches to other parts:
Then, there seems to be no SVG file. |
@arai-a The source for that image is at https://github.com/tc39/ecma262/blob/main/figure-2.uxf |
I tried modifying the I use UMLet 15.1 downloaded from https://www.umlet.com/index.html on Linux (Ubuntu). What should I do? |
Replacing it with an SVG is also fine. If you do, please do so as a separate PR. |
87df814
to
6f212d6
Compare
6f212d6
to
92dfe49
Compare
Updated the SVG figure, replacing |
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.
I think the new section IDs are mostly unnecessary and just bloat the document with oldids. Otherwise LGTM.
92dfe49
to
96d7e7f
Compare
reverted ids, and updated |
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.
Looks okay to me.
I'm not sure what happened, but "1 change requested" is still there. |
Apparently, resolving all comments doesn't make "1 change requested" go away. Instead, the change-requesting review must be either dismissed or replaced with an approval. |
…own intrinsics, use instead of {,Async}Generator.prototype (tc39#3238) - Use "generator function" instead of "generator" for GeneratorFunction instances
84ea7dd
to
fdde1c9
Compare
This supersedes #3234
This is effectively same as #3234, but in order to avoid the readability issue, added dedicate well-known intrinsics for Generator prototype and Async generator prototype, that's used in the same way as %SetIteratorPrototype%.
oldids
attribute