-
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 Iterator Record
type
#2591
Conversation
e1987d5
to
623951d
Compare
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.
In 27.1.4.3 "Properties of Async-from-Sync Iterator Instances", the description for [[SyncIteratorRecord]]
says
A Record, of the type returned by GetIterator, representing ...
That could be changed to
An Iterator Record representing ...
Other than that, looks good to me.
Partially resolves #2486. |
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.
LGTM
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.
LGTM other than comment.
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 just noticed that you could also change the 'type' of the _iteratorRecord_
parameter from unknown
to an Iterator Record
in each of:
- IteratorBindingInitialization
- IteratorDestructuringAssignmentEvaluation
- ForIn/OfBodyEvaluation
- PerformPromiseAll
- PerformPromiseAllSettled
- PerformPromiseAny
- PerformPromiseRace
And similarly for _syncIteratorRecord_
in CreateAsyncFromSyncIterator
.
Co-authored-by: ExE Boss <ExE-Boss@code.ExE-Boss.tech> Co-authored-by: Michael Dyck <jmdyck@ibiblio.org>
2a943e6
to
85d910c
Compare
per editor call, this can be done in a followup
This adds a
<dfn>
and<emu‑table>
for “Iterator Records”.Part of #2486