Skip to content

Commit e051ac4

Browse files
committed
remove duplicate declaration for one of the freestnading addTask impls
1 parent 6734ae9 commit e051ac4

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

lib/Sema/TypeCheckConcurrency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5813,7 +5813,7 @@ computeDefaultInferredActorIsolation(ValueDecl *value) {
58135813
IsolationSource(overriddenValue, IsolationSource::Override)},
58145814
overriddenValue,
58155815
isolation}; // use the overridden decl's iso as the default
5816-
// isolatiotn for this decl.
5816+
// isolation for this decl.
58175817
}
58185818

58195819
// We did not find anything special, return unspecified.

stdlib/public/Concurrency/TaskGroup+addTask.swift.gyb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,6 @@ import Swift
7272
% 'ThrowingTaskGroup',
7373
% ],
7474
% [
75-
% '@available(SwiftStdlib 5.7, *)',
76-
% '@available(*, unavailable, message: "Unavailable in task-to-thread concurrency model", renamed: "addTask(operation:)")',
77-
% ],
78-
% ['addTask', 'addTaskUnlessCancelled'],
79-
% [
80-
% 'priority: TaskPriority? = nil',
81-
% # throws and ChildTaskResult will be adjusted per task group type
82-
% 'operation: sending @escaping @isolated(any) () async throws -> ChildTaskResult'
83-
% ],
84-
% ),
85-
% (
86-
% 'SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY',
87-
% [
88-
% 'TaskGroup',
89-
% 'ThrowingTaskGroup',
90-
% ],
91-
% [
9275
% '// version for task to thread model, without priority parameter',
9376
% ],
9477
% ['addTask', 'addTaskUnlessCancelled'],

0 commit comments

Comments
 (0)