@@ -63,7 +63,7 @@ import Swift
6363/// For tasks that need to handle cancellation by throwing an error,
6464/// use the `withThrowingTaskGroup(of:returning:body:)` method instead.
6565@available ( SwiftStdlib 5 . 1 , * )
66- #if !$ Embedded
66+ #if !hasFeature( Embedded)
6767@backDeployed ( before: SwiftStdlib 6.0 )
6868#endif
6969@inlinable
@@ -200,7 +200,7 @@ public func _unsafeInheritExecutor_withTaskGroup<ChildTaskResult, GroupResult>(
200200/// which gives you a chance to handle the individual error
201201/// or to let the group rethrow the error.
202202@available ( SwiftStdlib 5 . 1 , * )
203- #if !$ Embedded
203+ #if !hasFeature( Embedded)
204204@backDeployed ( before: SwiftStdlib 6.0 )
205205#endif
206206@inlinable
@@ -596,7 +596,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
596596 ///
597597 /// - Returns: The value returned by the next child task that completes.
598598 @available ( SwiftStdlib 5 . 1 , * )
599- #if !$ Embedded
599+ #if !hasFeature( Embedded)
600600 @backDeployed ( before: SwiftStdlib 6.0 )
601601 #endif
602602 public mutating func next( isolation: isolated ( any Actor ) ? = #isolation) async -> ChildTaskResult ? {
@@ -616,7 +616,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
616616 /// Await all of the pending tasks added this group.
617617 @usableFromInline
618618 @available ( SwiftStdlib 5 . 1 , * )
619- #if !$ Embedded
619+ #if !hasFeature( Embedded)
620620 @backDeployed ( before: SwiftStdlib 6.0 )
621621 #endif
622622 internal mutating func awaitAllRemainingTasks( isolation: isolated ( any Actor ) ? = #isolation) async {
@@ -758,7 +758,7 @@ public struct ThrowingTaskGroup<ChildTaskResult: Sendable, Failure: Error> {
758758 /// Await all the remaining tasks on this group.
759759 @usableFromInline
760760 @available ( SwiftStdlib 5 . 1 , * )
761- #if !$ Embedded
761+ #if !hasFeature( Embedded)
762762 @backDeployed ( before: SwiftStdlib 6.0 )
763763 #endif
764764 internal mutating func awaitAllRemainingTasks( isolation: isolated ( any Actor ) ? = #isolation) async {
@@ -1038,7 +1038,7 @@ public struct ThrowingTaskGroup<ChildTaskResult: Sendable, Failure: Error> {
10381038 ///
10391039 /// - SeeAlso: `nextResult()`
10401040 @available ( SwiftStdlib 5 . 1 , * )
1041- #if !$ Embedded
1041+ #if !hasFeature( Embedded)
10421042 @backDeployed ( before: SwiftStdlib 6.0 )
10431043 #endif
10441044 public mutating func next( isolation: isolated ( any Actor ) ? = #isolation) async throws -> ChildTaskResult ? {
0 commit comments