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(compiler): give ASTWithSource its own visit method #31347
fix(compiler): give ASTWithSource its own visit method #31347
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks okay, but the diff is bigger than expected. Rebase needed?
ASTWithSource contains more information that AST and should have its own visit method, if desired. This implements that.
35a992e
to
fcf6d54
Compare
No; the diff is large because for whatever reason |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
ASTWithSource contains more information that AST and should have its own
visit method, if desired. This implements that.
Part 1 of template parsing refactoring for stability.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
ASTWithSource#visit
defers toAST#visit
.Issue Number: N/A
What is the new behavior?
ASTWithSource#visit
has its own method if applicable, otherwise defers toAST#visit
.Does this PR introduce a breaking change?
Other information