You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/api-digester/stability-concurrency-abi.test
+3-14Lines changed: 3 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -89,8 +89,9 @@ Func withCheckedThrowingContinuation(function:_:) has parameter 0 type change fr
89
89
Func withCheckedThrowingContinuation(function:_:) has parameter 1 type change from (_Concurrency.CheckedContinuation<τ_0_0, any Swift.Error>) -> () to Swift.String
90
90
91
91
// #isolation adoption for cancellation handlers; old APIs are kept ABI compatible
92
-
Func withTaskCancellationHandler(operation:onCancel:) has been renamed to Func withTaskCancellationHandler(operation:onCancel:isolation:)
93
-
Func withTaskCancellationHandler(operation:onCancel:) has mangled name changing from '_Concurrency.withTaskCancellationHandler<A>(operation: () async throws -> A, onCancel: @Sendable () -> ()) async throws -> A' to '_Concurrency.withTaskCancellationHandler<A>(operation: () async throws -> A, onCancel: @Sendable () -> (), isolation: isolated Swift.Optional<Swift.Actor>) async throws -> A'
92
+
// but ABI checker does not understand the silgen_names on the ABi-compat APIs
93
+
Func withTaskCancellationHandler(operation:onCancel:) has mangled name changing from '_Concurrency.withTaskCancellationHandler<A>(operation: () async throws -> A, onCancel: @Sendable () -> ()) async throws -> A' to '_Concurrency._isolatedParam_withTaskCancellationHandler<A>(operation: () async throws -> A, onCancel: @Sendable () -> (), isolation: isolated Swift.Optional<Swift.Actor>) async throws -> A'
94
+
Func withTaskCancellationHandler(operation:onCancel:) has been renamed to Func _isolatedParam_withTaskCancellationHandler(operation:onCancel:isolation:)
94
95
95
96
// #isolated was adopted and the old methods kept: $ss31withCheckedThrowingContinuation8function_xSS_yScCyxs5Error_pGXEtYaKlF
96
97
Func withCheckedContinuation(function:_:) has been renamed to Func withCheckedContinuation(isolation:function:_:)
@@ -130,18 +131,6 @@ Func withTaskGroup(of:returning:body:) has mangled name changing from '_Concurre
130
131
131
132
Func pthread_main_np() is a new API without '@available'
132
133
133
-
// Hashable for (Throwing)AsyncStream
134
-
// These are just @usableFromInline:
135
-
Var AsyncStream.Continuation.storage is a new API without '@available'
136
-
Var AsyncThrowingStream.Continuation.storage is a new API without '@available'
137
-
Class AsyncStream._Storage is a new API without '@available'
138
-
Class AsyncThrowingStream._Storage is a new API without '@available'
139
-
140
-
// withTaskCancellationHandler now uses caller execution
141
-
// Old methods are kept for ABI compatibility but this test does not understand that
142
-
Func withTaskCancellationHandler(operation:onCancel:) has mangled name changing from '_Concurrency.withTaskCancellationHandler<A>(operation: () async throws -> A, onCancel: @Sendable () -> ()) async throws -> A' to '_Concurrency.withTaskCancellationHandler<A>(operation: nonisolated(nonsending) () async throws -> A, onCancel: @Sendable () -> ()) async throws -> A'
143
-
Func withTaskCancellationHandler(operation:onCancel:) is now with @execution
144
-
145
134
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment above.)
0 commit comments