Doug Gregor
7d74b3ba5c
[SE-0413] Adopt typed throws in Result
...
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.
2024-01-13 06:45:08 -08:00
Jon Shier
85df179b84
Add additional test cases and use checkEquatable.
2018-12-09 19:08:32 -05:00
Max Moiseev
80ae4de685
Update test/stdlib/Result.swift
...
Co-Authored-By: jshier <jon@jonshier.com >
2018-12-06 17:54:17 -05:00
Max Moiseev
1834f0a87e
Update test/stdlib/Result.swift
...
Co-Authored-By: jshier <jon@jonshier.com >
2018-12-06 17:54:10 -05:00
Jon Shier
2bc4cbbfdd
Update for revised proposal.
2018-12-05 23:17:35 -05:00
Jon Shier
7fb5905f5f
Updates for review comments.
2018-12-03 21:52:21 -05:00
Jon Shier
33dcfc462f
Add update Result type to standard library.
2018-12-02 22:15:02 -05:00