File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1541,7 +1541,7 @@ func _taskIsCurrentExecutor(_ executor: Builtin.Executor) -> Bool
1541
1541
1542
1542
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY && !SWIFT_CONCURRENCY_EMBEDDED
1543
1543
1544
- @available ( SwiftStdlib 9999 , * )
1544
+ @available ( SwiftStdlib 6 . 2 , * )
1545
1545
@_silgen_name ( " swift_task_isCurrentExecutorWithFlags " )
1546
1546
@usableFromInline
1547
1547
internal func _taskIsCurrentExecutor(
@@ -1669,7 +1669,7 @@ internal func _runTaskForBridgedAsyncMethod(@_inheritActorContext _ body: __owne
1669
1669
1670
1670
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY && !SWIFT_CONCURRENCY_EMBEDDED
1671
1671
1672
- @available ( SwiftStdlib 9999 , * )
1672
+ @available ( SwiftStdlib 6 . 2 , * )
1673
1673
@_alwaysEmitIntoClient
1674
1674
@usableFromInline
1675
1675
internal func _taskIsOnMainActor( ) -> Bool {
@@ -1688,7 +1688,7 @@ internal func _taskIsOnMainActor() -> Bool {
1688
1688
/// and that includes an error return value. So we cannot accept throwing
1689
1689
/// functions here.
1690
1690
@_alwaysEmitIntoClient
1691
- @available ( SwiftStdlib 9999 , * )
1691
+ @available ( SwiftStdlib 6 . 2 , * )
1692
1692
public func _taskRunOnMainActor( operation: @escaping @MainActor ( ) -> ( ) ) {
1693
1693
typealias YesActor = @MainActor ( ) -> ( )
1694
1694
typealias NoActor = ( ) -> ( )
You can’t perform that action at this time.
0 commit comments