Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Jul 1, 2025

…s of imported APIs should match

(cherry picked from commit 30f0fa8)

…s of imported APIs should match

This is a follow-up to swiftlang#82085
which made it so async variant doesn't get `@Sendable` inferred because
the proposal specified that inference should happen only on completion
handler parameter type of a synchronous variant of an imported API.

This runs into implementation issues related to thunking in some
cases were async convention expects the type of a completion handler
to match exactly for both variants of the imported API.

Resolves: rdar://154695053
(cherry picked from commit 30f0fa8)
@xedin xedin requested a review from a team as a code owner July 1, 2025 07:18
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jul 1, 2025
@xedin
Copy link
Contributor Author

xedin commented Jul 1, 2025

@swift-ci please test

@xedin xedin merged commit ec750ef into swiftlang:release/6.2 Jul 1, 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