Skip to content

Rename some properties on FreestandingMacroExpansionSyntax #2138

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
Sep 5, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 1, 2023

The requirements of FreestandingMacroExpansionSyntax still referred to the names of these properties before the big rename. Perform the same rename that we did on MacroExpansionExprSyntax on FreestandingMacroExpansionSyntax.

@ahoppen ahoppen requested a review from bnbarham September 1, 2023 20:20
@ahoppen
Copy link
Member Author

ahoppen commented Sep 1, 2023

@swift-ci Please test

@Matejkob
Copy link
Contributor

Matejkob commented Sep 1, 2023

I love the phrase "before the big rename"! 💙

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I see correctly that you've manually changed this code? Why not update the FreestandingMacroExpansion trait in CodeGeneration?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I didn’t realize the trait was generated when I did this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, no worries, happens to the best of us!

The requirements of `FreestandingMacroExpansionSyntax` still referred to the names of these properties before the big rename. Perform the same rename that we did on `MacroExpansionExprSyntax` on `FreestandingMacroExpansionSyntax`.
@ahoppen ahoppen force-pushed the ahoppen/macroexpansion-renames branch from 2e23ffc to a16fd42 Compare September 2, 2023 04:29
@ahoppen
Copy link
Member Author

ahoppen commented Sep 2, 2023

@swift-ci Please test

@kimdv
Copy link
Contributor

kimdv commented Sep 2, 2023

@swift-ci please test windows

@ahoppen ahoppen merged commit abcc952 into swiftlang:main Sep 5, 2023
@ahoppen ahoppen deleted the ahoppen/macroexpansion-renames branch September 5, 2023 21:05
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.

4 participants