Skip to content

[Sema] Downgrade implicit self diag to warning for macro args #78545

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 2 commits into from
Jan 11, 2025

Conversation

hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Jan 10, 2025

We previously missed diagnosing this for macro args (#77534), fixing it turned out to be a bit more source breaking than initially thought though, so downgrade to a warning until Swift 7.

rdar://141963700

I need to add a method with a template, and C++
doesn't support that in local classes.
We previously missed diagnosing this for macro
args, fixing it turned out to be a bit more source
breaking than initially thought though, so downgrade
to a warning until Swift 7.

rdar://141963700
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test source compatibility

@hamishknight hamishknight merged commit ee6652d into swiftlang:main Jan 11, 2025
6 of 7 checks passed
@hamishknight hamishknight deleted the warn-misc-macro-arg branch January 11, 2025 10:56
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