Skip to content

[6.2] Sema: Don't diagnose implied conformance of imported type to Sendable #81694

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 2 commits into from
May 24, 2025

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented May 21, 2025

6.2 cherry-pick of #81576

  • Description: If protocol P: Sendable and you write extension SomeClangType: P {}, we would diagnose an error. Prevent this from happening. Also fix @retroactive to correctly detect protocol compositions.

  • Risk: Low.

  • Radar: rdar://145184871.

  • Reviewed by: @xedin

@slavapestov slavapestov requested a review from a team as a code owner May 21, 2025 22:10
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov force-pushed the fix-rdar145184871-6.2 branch from 02c3229 to 58a9435 Compare May 23, 2025 18:34
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov merged commit 0c44681 into swiftlang:release/6.2 May 24, 2025
5 checks passed
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