Skip to content

Properly deprecate default implementation of MacroExpansionContext.lexicalContext #2695

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 23, 2024

Now that we have rdar://123403268, we can change the default implementation of MacroExpansionContext.lexicalContext to return an empty array and be deprecated, making not implementing lexicalContext a compile-time warning instead of a runtime error.

rdar://123410459

…exicalContext`

Now that we have, we can change the default implementation of `MacroExpansionContext.lexicalContext` to return an empty array and be deprecated, making not implementing `lexicalContext` a compile-time warning instead of a runtime error.

rdar://123410459
@ahoppen ahoppen requested a review from DougGregor as a code owner June 23, 2024 14:36
@ahoppen
Copy link
Member Author

ahoppen commented Jun 24, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit 173b78b into swiftlang:main Jun 25, 2024
3 checks passed
@ahoppen ahoppen deleted the deprecate-lexical-context-default-implementation branch June 25, 2024 00:55
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