Skip to content

[Macros] Fix MacroDecl serialization crash with custom parameter attributes #63843

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
Feb 23, 2023

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented Feb 22, 2023

Type-check MacroDecl's parameter list so that custom attributes on parameters will have a type. Fixes a serialization crash.

@rxwei rxwei force-pushed the fix-macro-decl-module-crash branch 2 times, most recently from de1cfd2 to ebe1d2f Compare February 22, 2023 20:45
@rxwei
Copy link
Contributor Author

rxwei commented Feb 22, 2023

@swift-ci please smoke test

…tributes

Type-check `MacroDecl`'s parameter list so that custom attributes on parameters will have a type. Fixes a serialization crash.
@rxwei rxwei force-pushed the fix-macro-decl-module-crash branch from ebe1d2f to ecc3386 Compare February 22, 2023 21:00
@rxwei
Copy link
Contributor Author

rxwei commented Feb 22, 2023

@swift-ci please smoke test

@rxwei
Copy link
Contributor Author

rxwei commented Feb 23, 2023

@swift-ci please smoke test macos

@rxwei rxwei merged commit 48ebf22 into swiftlang:main Feb 23, 2023
@rxwei rxwei deleted the fix-macro-decl-module-crash branch February 23, 2023 09:51
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