Skip to content

Walk tokens with the correct walker #50042

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

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

jakebailey
Copy link
Member

#49992 wasn't complete, because not only did the old code use the wrong node visitors, it used the wrong visitor callback functions for tokens. Fix this too.

(I really, really wish that the NodeVisitor and NodesVisitor types were instead NodeWalker and NodesWalker, to make it clear that they do the walking, and that the callbacks are the actual visitors, but, it's too late for that).

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants