Closed
Description
Previous ID | SR-2356 |
Radar | None |
Original Reporter | dgrove-oss (JIRA User) |
Type | Bug |
Status | Closed |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | libdispatch |
Labels | Bug |
Assignee | dgrove-oss (JIRA) |
Priority | Medium |
md5: 210ac3ad8105e15721b8ed8ee91b5538
Issue Description:
The Linux Swift dispatch overlay contains about half a dozen temporary APIs in Queue.swift and Block.swift to allow SCL-Foundation to catch up to the final Dispatch APIs. We should remove these from Dispatch before the final Swift 3 GA for Linux.
In particular, the backwards scaffolding for Queue attributes annoyingly makes .concurrent ambiguous.
swiftc -Xcc -fblocks BarrierTest1.swift
BarrierTest1.swift:4:61: error: ambiguous use of 'concurrent'
let queue = DispatchQueue(label: "test queue", attributes: .concurrent)
^
Dispatch.DispatchQueueAttributes:6:23: note: found this candidate
static public var concurrent: Dispatch.DispatchQueueAttributes
^
Dispatch.DispatchQueue:5:27: note: found this candidate
static public var concurrent: Dispatch.DispatchQueue.Attributes
^