-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Typechecker] Reapply fix for SR-11298 #27639
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
[Typechecker] Reapply fix for SR-11298 #27639
Conversation
@swift-ci please smoke test |
@swift-ci please test source compatibility |
Debug source compat failure is an unrelated UPASS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sticking with this! I think this'll assuage the core team's concerns.
@swift-ci please smoke test |
Debug will fail again but just that one project @swift-ci Please test source compatibility |
Weird... I have no idea how my changes could possibly cause this. Let me rebase and try again. EDIT: Could be due to #27668 where this test case was last touched. |
…non-mutatingif we're in a class-constrained protocol extension
…nd use getDeclaredInterfaceType() instead of getSelfTypeInContext() - both are cheaper
…e fix-it from being applied in some cases
…Mutating if decl is in a class-constrained protocol extension
@swift-ci please smoke test (will run source compat if this passes) |
Validation order changed, this PR should fix that failing test: #27679 |
Alright, let’s try again: @swift-ci please smoke test |
@swift-ci please test source compatibility |
Great, all good (except that UPASS). Let's |
This re-applies the previously accepted fix for SR-11298.
mutating
methods in a class-constrained protocol extension asnonmutating
.Resolves SR-11298