Skip to content

Commit 72e26f2

Browse files
committed
[api-digester] add more exceptions for typed throws
1 parent 82ae264 commit 72e26f2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test/api-digester/Outputs/stability-stdlib-source-x86_64.swift.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Func Collection.map(_:) is now without @rethrows
4141
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>
4242
Func Sequence.map(_:) is now without @rethrows
4343
Constructor Result.init(catching:) has generic signature change from <Success, Failure where Failure == any Swift.Error> to <Success, Failure where Failure : Swift.Error>
44+
Func withUnsafeMutablePointer(to:_:) has generic signature change from <T, Result> to <T, E, Result where E : Swift.Error>
45+
Func withUnsafeMutablePointer(to:_:) is now without @rethrows
4446
Func withUnsafePointer(to:_:) has generic signature change from <T, Result> to <T, E, Result where E : Swift.Error>
4547
Func withUnsafePointer(to:_:) is now without @rethrows
4648
Func withoutActuallyEscaping(_:do:) has generic signature change from <ClosureType, ResultType> to <ClosureType, ResultType, Failure where Failure : Swift.Error>

test/api-digester/stability-stdlib-abi-without-asserts.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ Constructor Result.init(__abi_catching:) is a new API without @available attribu
105105
Constructor Result.init(catching:) has been removed
106106
Func Result.get() has been renamed to Func __abi_get()
107107
Func Result.get() has mangled name changing from 'Swift.Result.get() throws -> A' to 'Swift.Result.__abi_get() throws -> A'
108+
Func withUnsafeMutablePointer(to:_:) has been renamed to Func __abi_se0413_withUnsafeMutablePointer(to:_:)
109+
Func withUnsafeMutablePointer(to:_:) has mangled name changing from 'Swift.withUnsafeMutablePointer<A, B>(to: A, _: (Swift.UnsafeMutablePointer<A>) throws -> B) throws -> B' to 'Swift.__abi_se0413_withUnsafeMutablePointer<A, B>(to: A, _: (Swift.UnsafeMutablePointer<A>) throws -> B) throws -> B'
110+
Func withUnsafeMutablePointer(to:_:) is now without @rethrows
108111
Func withUnsafePointer(to:_:) has been renamed to Func __abi_withUnsafePointer(to:_:)
109112
Func withUnsafePointer(to:_:) has mangled name changing from 'Swift.withUnsafePointer<A, B>(to: A, _: (Swift.UnsafePointer<A>) throws -> B) throws -> B' to 'Swift.__abi_withUnsafePointer<A, B>(to: A, _: (Swift.UnsafePointer<A>) throws -> B) throws -> B'
110113
Func withUnsafePointer(to:_:) is now without @rethrows

0 commit comments

Comments
 (0)