Skip to content

Commit daab430

Browse files
committed
test: rebaseline stable ABI for _Concurrency
1 parent b937d0d commit daab430

File tree

2 files changed

+1369
-1874
lines changed

2 files changed

+1369
-1874
lines changed

test/api-digester/stability-concurrency-abi.test

Lines changed: 1 addition & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -50,72 +50,5 @@
5050
// UNSUPPORTED: swift_evolve
5151

5252
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment above.)
53-
Accessor Task._task.Get() has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
54-
Accessor Task.hashValue.Get() has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
55-
Accessor Task.isCancelled.Get() has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
56-
Accessor Task.result.Get() has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
57-
Accessor Task.value.Get() has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
58-
Accessor Task.value.Get() has generic signature change from <Success, Failure where Failure == Swift.Never> to <Success, Failure where Success : Swift.Sendable, Failure == Swift.Never>
59-
Accessor TaskGroup.Iterator.finished.Get() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
60-
Accessor TaskGroup.Iterator.finished.Modify() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
61-
Accessor TaskGroup.Iterator.finished.Set() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
62-
Accessor TaskGroup.Iterator.group.Get() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
63-
Accessor TaskGroup.Iterator.group.Modify() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
64-
Accessor TaskGroup.Iterator.group.Set() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
65-
Accessor TaskGroup._group.Get() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
66-
Accessor TaskGroup.isCancelled.Get() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
67-
Accessor TaskGroup.isEmpty.Get() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
68-
Accessor TaskLocal.description.Get() has generic signature change from <Value> to <Value where Value : Swift.Sendable>
69-
Accessor TaskLocal.projectedValue.Get() has generic signature change from <Value> to <Value where Value : Swift.Sendable>
70-
Accessor TaskLocal.wrappedValue.Get() has generic signature change from <Value> to <Value where Value : Swift.Sendable>
71-
Accessor ThrowingTaskGroup.Iterator.finished.Get() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
72-
Accessor ThrowingTaskGroup.Iterator.finished.Modify() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
73-
Accessor ThrowingTaskGroup.Iterator.finished.Set() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
74-
Accessor ThrowingTaskGroup.Iterator.group.Get() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
75-
Accessor ThrowingTaskGroup.Iterator.group.Modify() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
76-
Accessor ThrowingTaskGroup.Iterator.group.Set() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
77-
Accessor ThrowingTaskGroup._group.Get() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
78-
Accessor ThrowingTaskGroup.isCancelled.Get() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
79-
Accessor ThrowingTaskGroup.isEmpty.Get() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
80-
Class TaskLocal has generic signature change from <Value> to <Value where Value : Swift.Sendable>
81-
Class TaskLocal has removed conformance to UnsafeSendable
82-
Constructor TaskGroup.init(group:) has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
83-
Constructor TaskLocal.init(wrappedValue:) has generic signature change from <Value> to <Value where Value : Swift.Sendable>
84-
Constructor ThrowingTaskGroup.init(group:) has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
85-
Func MainActor.run(resultType:body:) has generic signature change from <T> to <T where T : Swift.Sendable>
86-
Func MainActor.run(resultType:body:) has mangled name changing from 'static Swift.MainActor.run<A>(resultType: A.Type, body: @Swift.MainActor @Sendable () throws -> A) async throws -> A' to 'static Swift.MainActor.run<A where A: Swift.Sendable>(resultType: A.Type, body: @Swift.MainActor @Sendable () throws -> A) async throws -> A'
87-
Func Task.==(_:_:) has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
88-
Func Task.cancel() has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
89-
Func Task.hash(into:) has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
90-
Func TaskGroup.Iterator.cancel() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
91-
Func TaskGroup.Iterator.next() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
92-
Func TaskGroup.awaitAllRemainingTasks() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
93-
Func TaskGroup.cancelAll() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
94-
Func TaskGroup.makeAsyncIterator() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
95-
Func TaskGroup.next() has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
96-
Func TaskLocal.get() has generic signature change from <Value> to <Value where Value : Swift.Sendable>
97-
Func TaskLocal.withValue(_:operation:file:line:) has generic signature change from <Value, R> to <Value, R where Value : Swift.Sendable>
98-
Func ThrowingTaskGroup.Iterator.cancel() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
99-
Func ThrowingTaskGroup.Iterator.next() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
100-
Func ThrowingTaskGroup._waitForAll() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
101-
Func ThrowingTaskGroup.awaitAllRemainingTasks() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
102-
Func ThrowingTaskGroup.cancelAll() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
103-
Func ThrowingTaskGroup.makeAsyncIterator() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
104-
Func ThrowingTaskGroup.next() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
105-
Func ThrowingTaskGroup.nextResult() has been renamed to Func nextResultForABI()
106-
Func ThrowingTaskGroup.nextResult() has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
107-
Func ThrowingTaskGroup.nextResult() has mangled name changing from 'Swift.ThrowingTaskGroup.nextResult() async throws -> Swift.Optional<Swift.Result<A, B>>' to 'Swift.ThrowingTaskGroup.nextResultForABI() async throws -> Swift.Optional<Swift.Result<A, B>>'
108-
Func _asyncMainDrainQueue() has been removed
109-
Func withTaskGroup(of:returning:body:) has generic signature change from <ChildTaskResult, GroupResult> to <ChildTaskResult, GroupResult where ChildTaskResult : Swift.Sendable>
110-
Func withTaskGroup(of:returning:body:) has mangled name changing from '_Concurrency.withTaskGroup<A, B>(of: A.Type, returning: B.Type, body: (inout Swift.TaskGroup<A>) async -> B) async -> B' to '_Concurrency.withTaskGroup<A, B where A: Swift.Sendable>(of: A.Type, returning: B.Type, body: (inout Swift.TaskGroup<A>) async -> B) async -> B'
111-
Func withThrowingTaskGroup(of:returning:body:) has generic signature change from <ChildTaskResult, GroupResult> to <ChildTaskResult, GroupResult where ChildTaskResult : Swift.Sendable>
112-
Func withThrowingTaskGroup(of:returning:body:) has mangled name changing from '_Concurrency.withThrowingTaskGroup<A, B>(of: A.Type, returning: B.Type, body: (inout Swift.ThrowingTaskGroup<A, Swift.Error>) async throws -> B) async throws -> B' to '_Concurrency.withThrowingTaskGroup<A, B where A: Swift.Sendable>(of: A.Type, returning: B.Type, body: (inout Swift.ThrowingTaskGroup<A, Swift.Error>) async throws -> B) async throws -> B'
113-
Import Swift has been renamed to Import _SwiftConcurrencyShims
114-
Struct Task has generic signature change from <Success, Failure where Failure : Swift.Error> to <Success, Failure where Success : Swift.Sendable, Failure : Swift.Error>
115-
Struct TaskGroup has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
116-
Struct TaskGroup.Iterator has generic signature change from <ChildTaskResult> to <ChildTaskResult where ChildTaskResult : Swift.Sendable>
117-
Struct ThrowingTaskGroup has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
118-
Struct ThrowingTaskGroup.Iterator has generic signature change from <ChildTaskResult, Failure where Failure : Swift.Error> to <ChildTaskResult, Failure where ChildTaskResult : Swift.Sendable, Failure : Swift.Error>
119-
Subscript TaskLocal.subscript(_enclosingInstance:wrapped:storage:) has been removed
120-
Var UnownedJob.context has mangled name changing from 'Swift.UnownedJob.(context in #UNSTABLE ID#) : Builtin.Job' to 'Swift.UnownedJob.(context in #UNSTABLE ID#) : Builtin.Job'
53+
12154
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment above.)

0 commit comments

Comments
 (0)