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

Ensure visitor visits the awaitModifier of a ForOfStatement #21078

Merged
1 commit merged into from
Jan 9, 2018
Merged

Conversation

ghost
Copy link

@ghost ghost commented Jan 8, 2018

Should fix the second issue from #21069 (comment)
When we don't visit the node, we don't create a new one, so it will still have the old position, which triggers an assertion in the formatter.

@ghost ghost requested a review from rbuckton January 8, 2018 23:44
@ghost ghost merged commit c4d7629 into master Jan 9, 2018
@ghost ghost deleted the forAwait branch January 9, 2018 01:22
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
This pull request was closed.
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.

1 participant