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
Update API/ABI stability checker output for correctly-printed ''rethrows'
We used to treat 'rethrows' like an attribute, printing it as
'@rethrows', which was incorrect. That's fixed now, so update the
API/ABI checker tests to account for that.
Copy file name to clipboardExpand all lines: test/api-digester/Outputs/stability-stdlib-source-base.swift.expected
+30-30Lines changed: 30 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -29,23 +29,23 @@ Constructor Mirror.init(_:children:displayStyle:ancestorRepresentation:) has gen
29
29
30
30
// Generalizations due to typed throws.
31
31
Func AnyBidirectionalCollection.map(_:) has generic signature change from <Element, T> to <Element, T, E where E : Swift.Error>
32
-
Func AnyBidirectionalCollection.map(_:) is now without @rethrows
32
+
Func AnyBidirectionalCollection.map(_:) is now without rethrows
33
33
Func AnyCollection.map(_:) has generic signature change from <Element, T> to <Element, T, E where E : Swift.Error>
34
-
Func AnyCollection.map(_:) is now without @rethrows
34
+
Func AnyCollection.map(_:) is now without rethrows
35
35
Func AnyRandomAccessCollection.map(_:) has generic signature change from <Element, T> to <Element, T, E where E : Swift.Error>
36
-
Func AnyRandomAccessCollection.map(_:) is now without @rethrows
36
+
Func AnyRandomAccessCollection.map(_:) is now without rethrows
37
37
Func AnySequence.map(_:) has generic signature change from <Element, T> to <Element, T, E where E : Swift.Error>
38
-
Func AnySequence.map(_:) is now without @rethrows
38
+
Func AnySequence.map(_:) is now without rethrows
39
39
Func Collection.map(_:) has generic signature change from <Self, T where Self : Swift.Collection> to <Self, T, E where Self : Swift.Collection, E : Swift.Error>
40
-
Func Collection.map(_:) is now without @rethrows
40
+
Func Collection.map(_:) is now without rethrows
41
41
Func Sequence.map(_:) has generic signature change from <Self, T where Self : Swift.Sequence> to <Self, T, E where Self : Swift.Sequence, E : Swift.Error>
42
-
Func Sequence.map(_:) is now without @rethrows
43
-
Func withUnsafeMutablePointer(to:_:) is now without @rethrows
44
-
Func withUnsafePointer(to:_:) is now without @rethrows
45
-
Func withUnsafeBytes(of:_:) is now without @rethrows
46
-
Func withUnsafeMutableBytes(of:_:) is now without @rethrows
42
+
Func Sequence.map(_:) is now without rethrows
43
+
Func withUnsafeMutablePointer(to:_:) is now without rethrows
44
+
Func withUnsafePointer(to:_:) is now without rethrows
45
+
Func withUnsafeBytes(of:_:) is now without rethrows
46
+
Func withUnsafeMutableBytes(of:_:) is now without rethrows
47
47
Func withoutActuallyEscaping(_:do:) has generic signature change from <ClosureType, ResultType> to <ClosureType, ResultType, Failure where Failure : Swift.Error>
48
-
Func withoutActuallyEscaping(_:do:) is now without @rethrows
48
+
Func withoutActuallyEscaping(_:do:) is now without rethrows
@@ -317,51 +317,51 @@ Func FixedWidthInteger.&*(_:_:) has been added as a protocol requirement
317
317
Accessor UnsafeBufferPointer.debugDescription.Get() has generic signature change from <Element> to <Element where Element : ~Copyable>
318
318
Accessor UnsafeMutableBufferPointer.debugDescription.Get() has generic signature change from <Element> to <Element where Element : ~Copyable>
319
319
Func ManagedBuffer.withUnsafeMutablePointerToElements(_:) has generic signature change from <Header, Element, R> to <Header, Element, E, R where E : Swift.Error, Element : ~Copyable, R : ~Copyable>
320
-
Func ManagedBuffer.withUnsafeMutablePointerToElements(_:) is now without @rethrows
320
+
Func ManagedBuffer.withUnsafeMutablePointerToElements(_:) is now without rethrows
321
321
Func ManagedBuffer.withUnsafeMutablePointerToHeader(_:) has generic signature change from <Header, Element, R> to <Header, Element, E, R where E : Swift.Error, Element : ~Copyable, R : ~Copyable>
322
-
Func ManagedBuffer.withUnsafeMutablePointerToHeader(_:) is now without @rethrows
322
+
Func ManagedBuffer.withUnsafeMutablePointerToHeader(_:) is now without rethrows
323
323
Func ManagedBuffer.withUnsafeMutablePointers(_:) has generic signature change from <Header, Element, R> to <Header, Element, E, R where E : Swift.Error, Element : ~Copyable, R : ~Copyable>
324
-
Func ManagedBuffer.withUnsafeMutablePointers(_:) is now without @rethrows
324
+
Func ManagedBuffer.withUnsafeMutablePointers(_:) is now without rethrows
325
325
Func ManagedBufferPointer.withUnsafeMutablePointerToElements(_:) has generic signature change from <Header, Element, R> to <Header, Element, E, R where E : Swift.Error, Element : ~Copyable, R : ~Copyable>
326
-
Func ManagedBufferPointer.withUnsafeMutablePointerToElements(_:) is now without @rethrows
326
+
Func ManagedBufferPointer.withUnsafeMutablePointerToElements(_:) is now without rethrows
327
327
Func ManagedBufferPointer.withUnsafeMutablePointerToHeader(_:) has generic signature change from <Header, Element, R> to <Header, Element, E, R where E : Swift.Error, Element : ~Copyable, R : ~Copyable>
328
-
Func ManagedBufferPointer.withUnsafeMutablePointerToHeader(_:) is now without @rethrows
328
+
Func ManagedBufferPointer.withUnsafeMutablePointerToHeader(_:) is now without rethrows
329
329
Func ManagedBufferPointer.withUnsafeMutablePointers(_:) has generic signature change from <Header, Element, R> to <Header, Element, E, R where E : Swift.Error, Element : ~Copyable, R : ~Copyable>
330
-
Func ManagedBufferPointer.withUnsafeMutablePointers(_:) is now without @rethrows
330
+
Func ManagedBufferPointer.withUnsafeMutablePointers(_:) is now without rethrows
331
331
Func Optional.flatMap(_:) has generic signature change from <Wrapped, U> to <Wrapped, E, U where E : Swift.Error, U : ~Copyable>
332
-
Func Optional.flatMap(_:) is now without @rethrows
332
+
Func Optional.flatMap(_:) is now without rethrows
333
333
Func Optional.map(_:) has generic signature change from <Wrapped, U> to <Wrapped, E, U where E : Swift.Error, U : ~Copyable>
334
-
Func Optional.map(_:) is now without @rethrows
334
+
Func Optional.map(_:) is now without rethrows
335
335
Func Result.flatMap(_:) has generic signature change from <Success, Failure, NewSuccess where Failure : Swift.Error> to <Success, Failure, NewSuccess where Failure : Swift.Error, NewSuccess : ~Copyable>
336
336
Func Result.flatMapError(_:) has generic signature change from <Success, Failure, NewFailure where Failure : Swift.Error, NewFailure : Swift.Error> to <Success, Failure, NewFailure where Failure : Swift.Error, NewFailure : Swift.Error, Success : ~Copyable>
337
337
Func Result.flatMapError(_:) has self access kind changing from NonMutating to Consuming
338
338
Func Result.map(_:) has generic signature change from <Success, Failure, NewSuccess where Failure : Swift.Error> to <Success, Failure, NewSuccess where Failure : Swift.Error, NewSuccess : ~Copyable>
339
339
Func Result.mapError(_:) has generic signature change from <Success, Failure, NewFailure where Failure : Swift.Error, NewFailure : Swift.Error> to <Success, Failure, NewFailure where Failure : Swift.Error, NewFailure : Swift.Error, Success : ~Copyable>
340
340
Func UnsafeBufferPointer.withMemoryRebound(to:_:) has generic signature change from <Element, T, Result> to <Element, T, E, Result where E : Swift.Error, Element : ~Copyable, T : ~Copyable, Result : ~Copyable>
341
-
Func UnsafeBufferPointer.withMemoryRebound(to:_:) is now without @rethrows
341
+
Func UnsafeBufferPointer.withMemoryRebound(to:_:) is now without rethrows
342
342
Func UnsafeMutableBufferPointer.withMemoryRebound(to:_:) has generic signature change from <Element, T, Result> to <Element, T, E, Result where E : Swift.Error, Element : ~Copyable, T : ~Copyable, Result : ~Copyable>
343
-
Func UnsafeMutableBufferPointer.withMemoryRebound(to:_:) is now without @rethrows
343
+
Func UnsafeMutableBufferPointer.withMemoryRebound(to:_:) is now without rethrows
344
344
Func UnsafeMutablePointer.withMemoryRebound(to:capacity:_:) has generic signature change from <Pointee, T, Result> to <Pointee, T, E, Result where E : Swift.Error, Pointee : ~Copyable, T : ~Copyable, Result : ~Copyable>
345
-
Func UnsafeMutablePointer.withMemoryRebound(to:capacity:_:) is now without @rethrows
345
+
Func UnsafeMutablePointer.withMemoryRebound(to:capacity:_:) is now without rethrows
346
346
Func UnsafePointer.withMemoryRebound(to:capacity:_:) has generic signature change from <Pointee, T, Result> to <Pointee, T, E, Result where E : Swift.Error, Pointee : ~Copyable, T : ~Copyable, Result : ~Copyable>
347
-
Func UnsafePointer.withMemoryRebound(to:capacity:_:) is now without @rethrows
347
+
Func UnsafePointer.withMemoryRebound(to:capacity:_:) is now without rethrows
348
348
Func withExtendedLifetime(_:_:) has generic signature change from <T, Result> to <T, E, Result where E : Swift.Error, T : ~Copyable, Result : ~Copyable>
349
-
Func withExtendedLifetime(_:_:) is now without @rethrows
349
+
Func withExtendedLifetime(_:_:) is now without rethrows
350
350
Func Array.withUnsafeBufferPointer(_:) has generic signature change from <Element, R> to <Element, R, E where E : Swift.Error>
351
-
Func Array.withUnsafeBufferPointer(_:) is now without @rethrows
351
+
Func Array.withUnsafeBufferPointer(_:) is now without rethrows
352
352
Func Array.withUnsafeMutableBufferPointer(_:) has generic signature change from <Element, R> to <Element, R, E where E : Swift.Error>
353
353
Func Array.withUnsafeMutableBufferPointer(_:) has parameter 0 type change from (inout Swift.UnsafeMutableBufferPointer<Element>) throws -> R to (inout Swift.UnsafeMutableBufferPointer<Element>) throws(E) -> R
354
-
Func Array.withUnsafeMutableBufferPointer(_:) is now without @rethrows
354
+
Func Array.withUnsafeMutableBufferPointer(_:) is now without rethrows
355
355
Func ArraySlice.withUnsafeBufferPointer(_:) has generic signature change from <Element, R> to <Element, R, E where E : Swift.Error>
356
-
Func ArraySlice.withUnsafeBufferPointer(_:) is now without @rethrows
356
+
Func ArraySlice.withUnsafeBufferPointer(_:) is now without rethrows
357
357
Func ArraySlice.withUnsafeMutableBufferPointer(_:) has generic signature change from <Element, R> to <Element, R, E where E : Swift.Error>
358
358
Func ArraySlice.withUnsafeMutableBufferPointer(_:) has parameter 0 type change from (inout Swift.UnsafeMutableBufferPointer<Element>) throws -> R to (inout Swift.UnsafeMutableBufferPointer<Element>) throws(E) -> R
359
-
Func ArraySlice.withUnsafeMutableBufferPointer(_:) is now without @rethrows
359
+
Func ArraySlice.withUnsafeMutableBufferPointer(_:) is now without rethrows
360
360
Func ContiguousArray.withUnsafeBufferPointer(_:) has generic signature change from <Element, R> to <Element, R, E where E : Swift.Error>
361
-
Func ContiguousArray.withUnsafeBufferPointer(_:) is now without @rethrows
361
+
Func ContiguousArray.withUnsafeBufferPointer(_:) is now without rethrows
362
362
Func ContiguousArray.withUnsafeMutableBufferPointer(_:) has generic signature change from <Element, R> to <Element, R, E where E : Swift.Error>
363
363
Func ContiguousArray.withUnsafeMutableBufferPointer(_:) has parameter 0 type change from (inout Swift.UnsafeMutableBufferPointer<Element>) throws -> R to (inout Swift.UnsafeMutableBufferPointer<Element>) throws(E) -> R
364
-
Func ContiguousArray.withUnsafeMutableBufferPointer(_:) is now without @rethrows
364
+
Func ContiguousArray.withUnsafeMutableBufferPointer(_:) is now without rethrows
Copy file name to clipboardExpand all lines: test/api-digester/stability-stdlib-abi-without-asserts.test
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -94,10 +94,10 @@ Func Sequence.map(_:) has been removed
94
94
Constructor Result.init(catching:) has been removed
95
95
Func withoutActuallyEscaping(_:do:) has been renamed to Func __abi_withoutActuallyEscaping(_:do:)
96
96
Func withoutActuallyEscaping(_:do:) has mangled name changing from 'Swift.withoutActuallyEscaping<A, B>(_: A, do: (A) throws -> B) throws -> B' to 'Swift.__abi_withoutActuallyEscaping<A, B>(_: A, do: (A) throws -> B) throws -> B'
97
-
Func withoutActuallyEscaping(_:do:) is now without @rethrows
97
+
Func withoutActuallyEscaping(_:do:) is now without rethrows
98
98
Func _openExistential(_:do:) has been renamed to Func __abi_openExistential(_:do:)
99
99
Func _openExistential(_:do:) has mangled name changing from 'Swift._openExistential<A, B, C>(_: A, do: (B) throws -> C) throws -> C' to 'Swift.__abi_openExistential<A, B, C>(_: A, do: (B) throws -> C) throws -> C'
100
-
Func _openExistential(_:do:) is now without @rethrows
100
+
Func _openExistential(_:do:) is now without rethrows
101
101
102
102
103
103
// These haven't actually been removed; they are simply marked unavailable.
@@ -122,11 +122,11 @@ Func UnsafeBufferPointer.withMemoryRebound(to:_:) has been removed
122
122
Func UnsafeMutableBufferPointer.withMemoryRebound(to:_:) has been removed
123
123
Func UnsafeMutablePointer.withMemoryRebound(to:capacity:_:) has been removed
124
124
Func UnsafePointer.withMemoryRebound(to:capacity:_:) has been removed
125
-
Func _AnySequenceBox._map(_:) is now without @rethrows
126
-
Func _BidirectionalCollectionBox._map(_:) is now without @rethrows
127
-
Func _CollectionBox._map(_:) is now without @rethrows
128
-
Func _RandomAccessCollectionBox._map(_:) is now without @rethrows
129
-
Func _SequenceBox._map(_:) is now without @rethrows
125
+
Func _AnySequenceBox._map(_:) is now without rethrows
126
+
Func _BidirectionalCollectionBox._map(_:) is now without rethrows
127
+
Func _CollectionBox._map(_:) is now without rethrows
128
+
Func _RandomAccessCollectionBox._map(_:) is now without rethrows
129
+
Func _SequenceBox._map(_:) is now without rethrows
130
130
Func UnsafeMutableRawBufferPointer.storeBytes(of:toByteOffset:as:) has been removed
131
131
Func UnsafeMutableRawPointer.storeBytes(of:toByteOffset:as:) has been removed
132
132
Func UnsafeMutableBufferPointer.assign(repeating:) has been removed
0 commit comments