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
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
15471547internal 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
16751675internal 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 , * )
16921692public func _taskRunOnMainActor( operation: @escaping @MainActor ( ) -> ( ) ) {
16931693 typealias YesActor = @MainActor ( ) -> ( )
16941694 typealias NoActor = ( ) -> ( )
You can’t perform that action at this time.
0 commit comments