Skip to content

[Macros] Adapt to macro API changes and switch more testing to use it. #62381

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

Conversation

DougGregor
Copy link
Member

Also start subsuming the _CompilerPluginSupport-based tests into ones based on building against swift-syntax, which is more directly how macros will be used.

The API provided by macro evaluation has changed a bit. Adapt ASTGen to
the new API, and use this as an opportunity to start moving more tests
to using the shared libraries built into the toolchain.
@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#1104

@swift-ci please smoke test

@DougGregor DougGregor merged commit aecd449 into swiftlang:main Dec 3, 2022
@DougGregor DougGregor deleted the swift-syntax-macros-api-changes branch December 3, 2022 16:30
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