Skip to content

Unrevert "[Sema] Setter has incorrect mutating-ness inside class-constrained protocol extension" #27057

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 15 commits into from
Sep 18, 2019
Merged

Conversation

theblixguy
Copy link
Collaborator

This un-reverts #26695. The Core Team accepts this as a bug fix.

Resolves SR-11298.

…otocol requirement

Do not offer a mutating fix-it if we have a mutating protocol requirement and we're assigning to it from an implicitly nonmutating setter inside a protocol extension
Copy link
Contributor

@jrose-apple jrose-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jrose-apple
Copy link
Contributor

Thanks for sticking with this, by the way. Sorry for only noticing one or two things each time—I keep thinking "oh, this is an unrevert and it was basically ready to go in last time so I don't really need to look at it closely".

@theblixguy
Copy link
Collaborator Author

Running tests while I wait for approval:

@swift-ci please smoke test

@theblixguy
Copy link
Collaborator Author

@swift-ci please test source compatibility

@theblixguy
Copy link
Collaborator Author

@swift-ci please smoke test

@theblixguy
Copy link
Collaborator Author

@swift-ci please test source compatibility

@theblixguy
Copy link
Collaborator Author

Alright, all tests have passed :shipit:

@theblixguy
Copy link
Collaborator Author

Is this good to merge now? Just need an approval before I do that (and fix the indentation).

@jrose-apple
Copy link
Contributor

Thanks again for sticking with it!

@theblixguy
Copy link
Collaborator Author

@swift-ci please test

@theblixguy
Copy link
Collaborator Author

@swift-ci please test source compatibility

@swift-ci

This comment has been minimized.

@swift-ci

This comment has been minimized.

@theblixguy theblixguy merged commit c99facb into swiftlang:master Sep 18, 2019
@theblixguy theblixguy deleted the unrevert/SR-11298 branch September 18, 2019 00:15
jrose-apple added a commit to jrose-apple/swift that referenced this pull request Oct 10, 2019
…R-11298"

This reverts commit c99facb, reversing
changes made to 9a24013.

rdar://problem/56165420
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.

3 participants