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 6b2c016 + 56ac85a commit 4030a8cCopy full SHA for 4030a8c
test/Concurrency/Runtime/async_task_priority_current.swift
@@ -42,8 +42,8 @@ func test_detach() async {
42
await detach(priority: .default) {
43
let a3 = Task.currentPriority
44
// The priority of 'a3' may either be 21 (default) or elevated to that of
45
- // the main function, whichever is greater.
46
- print("a3: \(a3)") // CHECK: a3: TaskPriority(rawValue: [[#max(MAIN_PRIORITY,21)]]
+ // the main function.
+ print("a3: \(a3)") // CHECK: a3: TaskPriority(rawValue: {{21|[[#MAIN_PRIORITY]]}})
47
}.get()
48
49
let a4 = Task.currentPriority
0 commit comments