-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Unrevert "[Sema] Setter has incorrect mutating-ness inside class-constrained protocol extension" #27057
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
3146eed
Revert "Revert "[Sema] Setter has incorrect mutating-ness inside clas…
theblixguy fc6a49e
[Test] Update tests
theblixguy d4c21cf
[Changelog] Add a changelog entry
theblixguy e8d288e
[Changelog] Add an example for the broken case
theblixguy 0c0a726
Merge branch 'master' into unrevert/SR-11298
theblixguy 54a4615
[Diagnostics] Do not offer a mutating fix-it if we have a mutating pr…
theblixguy c31b184
[Changelog] Update changelog
theblixguy 7691fbd
[Changelog] Add workaround for nonmutating setter
theblixguy b254741
[Changelog] Change 'mutable property' to 'mutable variable'
theblixguy f676dde
[Typechecker] Use a 'is Self class-bound?' check instead
theblixguy 29ca8b0
[AST] Adds 'hasValueSemantics()' to DeclContext and uses 'getSelfType…
theblixguy e8fe05d
[AST] hasValueSemantics() should check whether the current context is…
theblixguy 0d66b0c
[AST] Fix indenation in hasValueSemantics()
theblixguy d9c8ae4
[AST] Remove isTypeContext() check from hasValueSemantics() and move …
theblixguy 3d058c6
[Typechecker] Remove a few unnecessary isTypeContext() checks as its …
theblixguy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.