We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f73d2ab + 9800c03 commit 91989ecCopy full SHA for 91989ec
test/Concurrency/async_task_priority.swift
@@ -18,8 +18,6 @@
18
// UNSUPPORTED: DARWIN_SIMULATOR=ios
19
// UNSUPPORTED: DARWIN_SIMULATOR=tvos
20
21
-// REQUIRES: rdar105396748
22
-
23
import Darwin
24
@preconcurrency import Dispatch
25
import StdlibUnittest
@@ -41,7 +39,7 @@ func expectedBasePri(priority: TaskPriority) -> TaskPriority {
41
39
let basePri = Task.basePriority!
42
40
print("Testing basePri matching expected pri - \(basePri) == \(priority)")
43
expectEqual(basePri, priority)
44
- Task.withUnsafeCurrentTask { unsafeTask in
+ withUnsafeCurrentTask { unsafeTask in
45
guard let unsafeTask else {
46
fatalError("Expected to be able to get current task, but could not!")
47
}
0 commit comments