Skip to content

Reset error record in downlevel for-of#31519

Merged
rbuckton merged 1 commit into
masterfrom
fix30083
May 22, 2019
Merged

Reset error record in downlevel for-of#31519
rbuckton merged 1 commit into
masterfrom
fix30083

Conversation

@rbuckton
Copy link
Copy Markdown
Contributor

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 requested review from sandersn and weswigham May 21, 2019 21:32
@rbuckton rbuckton merged commit b3dc32f into master May 22, 2019
@rbuckton rbuckton deleted the fix30083 branch May 22, 2019 18:18
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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