Skip to content

Commit 61268aa

Browse files
committed
[stdlib] Define placeholder version numbers for SwiftStdlib 5.7
Also update existing declarations with SwiftStdlib 9999 availability to use the 5.7 name.
1 parent aa3b48f commit 61268aa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ extension Task where Success == Never, Failure == Never {
301301
/// The current task's base priority.
302302
///
303303
/// If you access this property outside of any task, this returns nil
304-
@available(SwiftStdlib 9999, *)
304+
@available(SwiftStdlib 5.7, *)
305305
public static var basePriority: TaskPriority? {
306306
withUnsafeCurrentTask { task in
307307
// If we are running on behalf of a task, use that task's priority.

utils/availability-macros.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ SwiftStdlib 5.3:macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0
3131
SwiftStdlib 5.4:macOS 11.3, iOS 14.5, watchOS 7.4, tvOS 14.5
3232
SwiftStdlib 5.5:macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0
3333
SwiftStdlib 5.6:macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4
34+
SwiftStdlib 5.7:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
3435

3536
# Local Variables:
3637
# mode: conf-unix

0 commit comments

Comments
 (0)