@@ -254,7 +254,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
254
254
flags. bits, _group, operation)
255
255
256
256
// Attach it to the group's task record in the current task.
257
- _ = _taskGroupAttachChild ( group: _group, child: childTask)
257
+ _taskGroupAttachChild ( group: _group, child: childTask)
258
258
259
259
// Enqueue the resulting job.
260
260
_enqueueJobGlobal ( Builtin . convertTaskToJob ( childTask) )
@@ -299,7 +299,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
299
299
flags. bits, _group, operation)
300
300
301
301
// Attach it to the group's task record in the current task.
302
- _ = _taskGroupAttachChild ( group: _group, child: childTask)
302
+ _taskGroupAttachChild ( group: _group, child: childTask)
303
303
304
304
// Enqueue the resulting job.
305
305
_enqueueJobGlobal ( Builtin . convertTaskToJob ( childTask) )
@@ -507,7 +507,7 @@ public struct ThrowingTaskGroup<ChildTaskResult: Sendable, Failure: Error> {
507
507
flags. bits, _group, operation)
508
508
509
509
// Attach it to the group's task record in the current task.
510
- _ = _taskGroupAttachChild ( group: _group, child: childTask)
510
+ _taskGroupAttachChild ( group: _group, child: childTask)
511
511
512
512
// Enqueue the resulting job.
513
513
_enqueueJobGlobal ( Builtin . convertTaskToJob ( childTask) )
@@ -552,7 +552,7 @@ public struct ThrowingTaskGroup<ChildTaskResult: Sendable, Failure: Error> {
552
552
flags. bits, _group, operation)
553
553
554
554
// Attach it to the group's task record in the current task.
555
- _ = _taskGroupAttachChild ( group: _group, child: childTask)
555
+ _taskGroupAttachChild ( group: _group, child: childTask)
556
556
557
557
// Enqueue the resulting job.
558
558
_enqueueJobGlobal ( Builtin . convertTaskToJob ( childTask) )
@@ -790,7 +790,7 @@ extension ThrowingTaskGroup: AsyncSequence {
790
790
func _taskGroupAttachChild(
791
791
group: Builtin . RawPointer ,
792
792
child: Builtin . NativeObject
793
- ) -> UnsafeRawPointer /*ChildTaskStatusRecord*/
793
+ )
794
794
795
795
@available( macOS 9999 , iOS 9999 , watchOS 9999 , tvOS 9999 , * )
796
796
@_silgen_name ( " swift_taskGroup_destroy " )
0 commit comments