Skip to content

Extend macro protocols with information about the macro types. #1011

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 4 commits into from
Oct 24, 2022

Conversation

DougGregor
Copy link
Member

Macros are intended to have typed inputs and outputs, so express those
via a signature and (optional) generic parameter clause to help express
that signature. This puts the entirety of the macro's "declaration" in
the conformance, so it can be queried by the macro system.

Macros are intended to have typed inputs and outputs, so express those
via a signature and (optional) generic parameter clause to help express
that signature. This puts the entirety of the macro's "declaration" in
the conformance, so it can be queried by the macro system.
@DougGregor DougGregor requested a review from ahoppen as a code owner October 24, 2022 05:04
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit 4ad75a8 into swiftlang:main Oct 24, 2022
@DougGregor DougGregor deleted the macro-type-information branch October 24, 2022 12:47
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.

1 participant