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

fix call to IteratorClose #37

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

bakkot
Copy link
Collaborator

@bakkot bakkot commented Oct 27, 2024

Same issue as tc39/ecma262#3457: if you're calling IteratorClose to close some things not because you've encountered a return/throw, but just because you're done with it, then the second argument needs to be a normal completion, not a return completion.

@michaelficarra michaelficarra merged commit 5f1e5d7 into main Oct 28, 2024
1 check passed
@michaelficarra michaelficarra deleted the close-with-normal-completion branch October 28, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants