We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f2dff9 + 46c9de8 commit e660b70Copy full SHA for e660b70
stdlib/public/Concurrency/Task.swift
@@ -667,7 +667,9 @@ internal func _runTaskForBridgedAsyncMethod(_ body: @escaping () async -> Void)
667
// if we're already running on behalf of a task,
668
// if the receiver of the method invocation is itself an Actor, or in other
669
// situations.
670
+#if compiler(>=5.5) && $Sendable
671
Task.runDetached { await body() }
672
+#endif
673
}
674
675
#endif
0 commit comments