@@ -223,7 +223,7 @@ extension DiscardingTaskGroup {
223223 priority: TaskPriority ? = nil ,
224224 operation: __owned @Sendable @escaping ( ) async throws -> Void
225225 ) {
226- #if $BuiltinCreateAsyncTaskInGroupWithExecutor
226+ #if $BuiltinCreateAsyncDiscardingTaskInGroupWithExecutor
227227 let flags = taskCreateFlags (
228228 priority: priority, isChildTask: true , copyTaskLocals: false ,
229229 inheritContext: false , enqueueJob: true ,
@@ -265,7 +265,7 @@ extension DiscardingTaskGroup {
265265 priority: TaskPriority ? = nil ,
266266 operation: __owned @Sendable @escaping ( ) async -> Void
267267 ) -> Bool {
268- #if $BuiltinCreateAsyncTaskInGroupWithExecutor
268+ #if $BuiltinCreateAsyncDiscardingTaskInGroupWithExecutor
269269 let canAdd = _taskGroupAddPendingTask ( group: _group, unconditionally: false )
270270
271271 guard canAdd else {
@@ -317,7 +317,7 @@ extension ThrowingDiscardingTaskGroup {
317317 priority: TaskPriority ? = nil ,
318318 operation: __owned @Sendable @escaping ( ) async throws -> Void
319319 ) {
320- #if $BuiltinCreateAsyncTaskInGroupWithExecutor
320+ #if $BuiltinCreateAsyncDiscardingTaskInGroupWithExecutor
321321 let flags = taskCreateFlags (
322322 priority: priority, isChildTask: true , copyTaskLocals: false ,
323323 inheritContext: false , enqueueJob: true ,
@@ -359,7 +359,7 @@ extension ThrowingDiscardingTaskGroup {
359359 priority: TaskPriority ? = nil ,
360360 operation: __owned @Sendable @escaping ( ) async throws -> Void
361361 ) -> Bool {
362- #if $BuiltinCreateAsyncTaskInGroupWithExecutor
362+ #if $BuiltinCreateAsyncDiscardingTaskInGroupWithExecutor
363363 let canAdd = _taskGroupAddPendingTask ( group: _group, unconditionally: false )
364364
365365 guard canAdd else {
@@ -388,4 +388,4 @@ extension ThrowingDiscardingTaskGroup {
388388 }
389389}
390390
391- #endif
391+ #endif
0 commit comments