Skip to content

Update rules to use the operator-folded syntax tree. #441

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
Nov 1, 2022

Conversation

allevato
Copy link
Member

@allevato allevato commented Nov 1, 2022

These rules/tests were broken when we switched to the new parser because they operated on the unfolded tree (and we now fold before the rules pipeline, rather than just before the pretty printer), but the tests for those rules never caught the problem because they also weren't folding the tree.

These rules were broken when we switched to the new parser because
they operated on the unfolded tree (and we now fold before the
rules pipeline, rather than just before the pretty printer), but the
tests for those rules never caught the problem because they *also*
weren't folding the tree.
@allevato
Copy link
Member Author

allevato commented Nov 1, 2022

cc @dylansturg

@allevato allevato merged commit 17ea484 into swiftlang:main Nov 1, 2022
@allevato allevato deleted the fold-operators-in-rule-tests branch November 1, 2022 22:42
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.

2 participants