Skip to content

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Jul 9, 2025

A call to a @preconcurrency function goes through a function conversion that removes Sendable from existentials among other things. Implement support for this by bitcasting indirect return slots whose type differs from the formal indirect return type in concurrency markings only.

Fixes rdar://154240007

…tations.

A call to a `@preconcurrency` function goes through a function conversion
that removes `Sendable` from existentials among other things. Implement
support for this by bitcasting indirect return slots whose type differs
from the formal indirect return type in concurrency markings only.

Fixes rdar://154240007
@jckarter jckarter requested a review from xedin July 9, 2025 00:05
@jckarter
Copy link
Contributor Author

jckarter commented Jul 9, 2025

@swift-ci Please test

@jckarter jckarter merged commit 37bfabd into swiftlang:main Jul 9, 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.

2 participants