Skip to content

Commit 295204d

Browse files
authored
Merge pull request #39920 from mikeash/fix-silgen-name-underscores
[Concurrency] Re-fix ABI regression in task groups due to Sendable requirements.
2 parents 1c0d187 + c60b686 commit 295204d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/TaskGroup.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import Swift
6262
/// - the group will await any not yet complete tasks,
6363
/// - once the `withTaskGroup` returns the group is guaranteed to be empty.
6464
@available(SwiftStdlib 5.5, *)
65-
@_silgen_name("_$ss13withTaskGroup2of9returning4bodyq_xm_q_mq_ScGyxGzYaXEtYar0_lF")
65+
@_silgen_name("$ss13withTaskGroup2of9returning4bodyq_xm_q_mq_ScGyxGzYaXEtYar0_lF")
6666
@inlinable
6767
public func withTaskGroup<ChildTaskResult, GroupResult>(
6868
of childTaskResultType: ChildTaskResult.Type,
@@ -142,7 +142,7 @@ public func withTaskGroup<ChildTaskResult, GroupResult>(
142142
/// - if the body throws:
143143
/// - all tasks remaining in the group will be automatically cancelled.
144144
@available(SwiftStdlib 5.5, *)
145-
@_silgen_name("_$ss21withThrowingTaskGroup2of9returning4bodyq_xm_q_mq_Scgyxs5Error_pGzYaKXEtYaKr0_lF")
145+
@_silgen_name("$ss21withThrowingTaskGroup2of9returning4bodyq_xm_q_mq_Scgyxs5Error_pGzYaKXEtYaKr0_lF")
146146
@inlinable
147147
public func withThrowingTaskGroup<ChildTaskResult, GroupResult>(
148148
of childTaskResultType: ChildTaskResult.Type,

0 commit comments

Comments
 (0)