Skip to content

Conversation

@kavon
Copy link
Member

@kavon kavon commented Apr 10, 2024

Explanation: Implements part of the SE-427 proposal where Copyable cannot depend on conditional requirements for other protocols.
Scope: Technically source-breaking but there aren't any known sources that used this yet.
Issue: rdar://124967739
Original PR: #72820
Risk: Low.
Testing: Tests included.
Reviewer: @slavapestov

kavon added 2 commits April 4, 2024 14:36
It doesn't really make sense for a conditional conformance requirement
for `Copyable` to depend on any other requirement other than other
`Copyable` conformance requirements.

resolves rdar://124967739

(cherry picked from commit 215c4e1)
Sometimes, quotes or an "aka" for a type are not desirable in a
diagnostic, such as one describing a Requirement. This modifier
suppresses such additional formatting a Type in a diagnostic.

(cherry picked from commit 0ce97b8)
@kavon kavon requested a review from a team as a code owner April 10, 2024 20:51
@kavon kavon requested a review from slavapestov April 10, 2024 20:52
@kavon
Copy link
Member Author

kavon commented Apr 10, 2024

@swift-ci test

@kavon kavon merged commit 6f8f015 into swiftlang:release/6.0 Apr 12, 2024
@kavon kavon deleted the 6.0-conditional-conformance-restriction branch April 12, 2024 17:36
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