Conversation
|
This PR is intended to align non-Darwin Dispatch sendability with Darwin behavior. Could a maintainer confirm whether the direction here is acceptable, or whether this should be split into smaller PRs / gated differently? Edit: While reviewing this again I noticed that DispatchDataIterator currently has an |
|
@swift-ci please smoke test |
|
I think this is reasonable, thank you |
|
@swift-ci please smoke test |
1 similar comment
|
@swift-ci please smoke test |
Description
In the SDK that ships with Xcode, these types are marked as
Sendable, which causes source compatibility issues.Adds missing
Sendableconformance to the following types:DispatchQueue.AttributesDispatchQueue.GlobalQueuePriorityDispatchQueue.AutoreleaseFrequencyDispatchWorkItemFlagsDispatchIO.StreamTypeDispatchIO.CloseFlagsDispatchIO.IntervalFlagsDispatchDataDispatchData.DeallocatorDispatchDataIteratorRelated issues: #779, #910
Reproduction
Expected behavior
The example program should compile without errors.