Skip to content

Commit 0de5354

Browse files
committed
[Concurrency lib] Stdlib 9999 -> 6.2, where this code would land
1 parent 04bb69f commit 0de5354

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ func _taskIsCurrentExecutor(_ executor: Builtin.Executor) -> Bool
15411541

15421542
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY && !SWIFT_CONCURRENCY_EMBEDDED
15431543

1544-
@available(SwiftStdlib 9999, *)
1544+
@available(SwiftStdlib 6.2, *)
15451545
@_silgen_name("swift_task_isCurrentExecutorWithFlags")
15461546
@usableFromInline
15471547
internal func _taskIsCurrentExecutor(
@@ -1669,7 +1669,7 @@ internal func _runTaskForBridgedAsyncMethod(@_inheritActorContext _ body: __owne
16691669

16701670
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY && !SWIFT_CONCURRENCY_EMBEDDED
16711671

1672-
@available(SwiftStdlib 9999, *)
1672+
@available(SwiftStdlib 6.2, *)
16731673
@_alwaysEmitIntoClient
16741674
@usableFromInline
16751675
internal func _taskIsOnMainActor() -> Bool {
@@ -1688,7 +1688,7 @@ internal func _taskIsOnMainActor() -> Bool {
16881688
/// and that includes an error return value. So we cannot accept throwing
16891689
/// functions here.
16901690
@_alwaysEmitIntoClient
1691-
@available(SwiftStdlib 9999, *)
1691+
@available(SwiftStdlib 6.2, *)
16921692
public func _taskRunOnMainActor(operation: @escaping @MainActor () -> ()) {
16931693
typealias YesActor = @MainActor () -> ()
16941694
typealias NoActor = () -> ()

0 commit comments

Comments
 (0)