Skip to content

[6.2][Concurrency] Fix SendableMetatype conformance failures to behave l… #82036

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 1 commit into from
Jun 10, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 5, 2025

…ike Sendable ones

Cherry-pick of #82004

  • Explanation:

    SendableMetatype should behave the same as Sendable when it comes to conformance failures.

    No warnings with minimal checking, warnings with strict-concurrency=complete and if declaration is @preconcurrency until next major swift version.

  • Resolves: rdar://151911135

  • Main Branch PR: [Concurrency] Fix SendableMetatype conformance failures to behave l… #82004

  • Risk: Low. Allows more code to type-check successfully.

  • Reviewed By: @DougGregor @ktoso

  • Testing: Added new test-cases to the test suite.

(cherry picked from commit e326cd0)

@xedin xedin requested a review from a team as a code owner June 5, 2025 21:45
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jun 5, 2025
@xedin
Copy link
Contributor Author

xedin commented Jun 5, 2025

@swift-ci please test

…ike `Sendable` ones

No warnings with minimal checking, warnings with `strict-concurrency=complete` and
if declaration is `@preconcurrency` until next major swift version.

Resolves: rdar://151911135
Resolves: swiftlang#81739
(cherry picked from commit e326cd0)
@xedin xedin force-pushed the rdar-151911135-6.2 branch from 164f68e to 4792518 Compare June 6, 2025 15:51
@xedin
Copy link
Contributor Author

xedin commented Jun 6, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jun 6, 2025

@swift-ci please test macOS platform

3 similar comments
@xedin
Copy link
Contributor Author

xedin commented Jun 7, 2025

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jun 8, 2025

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jun 9, 2025

@swift-ci please test macOS platform

@xedin xedin merged commit 3ed5570 into swiftlang:release/6.2 Jun 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants