mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The continuation types were conditionally `Sendable` based on whether the result type of the continuation was `Sendable`. However, conceptually, the return value is never leaving the current task, so it is never actually crossing concurrency boundaries. Therefore, we can make the continuation types unconditionally `Sendable`. Fixes rdar://98462858.
4.8 KiB
4.8 KiB