mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Make `init(catching:)` and `get()` use typed throws. The former infers the `Failure` type from the closure provided (once full type inference is in place) and the latter only throws errors of the `Failure` type.
4.8 KiB
4.8 KiB