Skip to content

[Macros] Don't fold operators in unnecessary nodes #1657

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
May 15, 2023

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented May 12, 2023

For attached macros, operator folding should only be done for the attribute syntax node, but not for the target declaration node and the parent decl node. This aligns with the compiler's ASTGen.

For attached macros, operator folding should only be done for the
attribute syntax node, but not for the target declaration syntax and
the parent decl syntax. This aligns with the compiler's ASTGen.
@rintaro rintaro requested a review from ahoppen as a code owner May 12, 2023 17:02
@rintaro
Copy link
Member Author

rintaro commented May 12, 2023

@swift-ci Please test

@rintaro rintaro requested a review from bnbarham May 12, 2023 17:03
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.

3 participants