Skip to content

Commit 6b90664

Browse files
committed
[concurrency] fix availabilities some more
Extensions cannot be more available than their type for swiftinterface files.
1 parent 46d44a8 commit 6b90664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Concurrency/Task+PriorityEscalation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import Swift
1515

1616
// ==== Task Priority Escalation -----------------------------------------------
1717

18+
@available(SwiftStdlib 6.2, *)
1819
extension Task {
1920
/// Escalate the task `priority` of the passed in task to the `newPriority`.
2021
///
@@ -47,6 +48,7 @@ extension Task {
4748
}
4849
}
4950

51+
@available(SwiftStdlib 6.2, *)
5052
extension UnsafeCurrentTask {
5153
/// Escalate the task `priority` of the passed in task to the `newPriority`.
5254
///

0 commit comments

Comments
 (0)