You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type of the [[NextMethod]] field of Iterator Records is declared to be "a function object", but in GetIterator, ForIn/OfHeadEvaluation, and CreateAsyncFromSyncIterator, we stick the result of Get(iterator, "next") directly into there without validating it. We should either update the type or check/throw before constructing the Iterator Record (this seems to require impossible normative changes).
The text was updated successfully, but these errors were encountered:
The type of the
[[NextMethod]]
field of Iterator Records is declared to be "a function object", but inGetIterator
,ForIn/OfHeadEvaluation
, andCreateAsyncFromSyncIterator
, we stick the result ofGet(iterator, "next")
directly into there without validating it. We should either update the type or check/throw before constructing the Iterator Record (this seems to require impossible normative changes).The text was updated successfully, but these errors were encountered: