Skip to content

Conversation

@kavon
Copy link
Member

@kavon kavon commented Jul 10, 2024

  • Explanation: Retroactive conformances to Copyable were being permitted and that's nonsense. SE-427 actually says it has to be defined in the same source file, like Sendable.
  • Scope: Source breaking, but easy to remedy in the legal cases.
  • Issue: rdar://131486561
  • Original PR: NCGenerics: enforce same-source conformance rule #75141
  • Risk: Low
  • Testing: Swift CI.
  • Reviewer: @slavapestov

SE-427 says the conformance to Copyable must appear in the same source
file as the nominal type.

resolves rdar://131486561

(cherry picked from commit 233742a)
@kavon kavon requested a review from a team as a code owner July 10, 2024 21:08
@kavon
Copy link
Member Author

kavon commented Jul 10, 2024

@swift-ci test

@kavon kavon enabled auto-merge July 10, 2024 21:08
@kavon kavon disabled auto-merge July 10, 2024 21:09
@kavon kavon enabled auto-merge July 10, 2024 21:20
@kavon kavon merged commit 705e1c0 into swiftlang:release/6.0 Jul 11, 2024
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