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

Reset error record in downlevel for-of #31519

Merged
merged 1 commit into from May 22, 2019
Merged

Reset error record in downlevel for-of #31519

merged 1 commit into from May 22, 2019

Conversation

rbuckton
Copy link
Member

This ensures we reset the errorRecord temp variable we generate for downlevel for..of when the for..of statement is enclosed in another iteration statement.

Fixes #30083

@rbuckton rbuckton merged commit b3dc32f into master May 22, 2019
@rbuckton rbuckton deleted the fix30083 branch May 22, 2019 18:18
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.

Using --downlevelIteration with nested loops results in incorrect error handling code
2 participants