mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Teach the constraint system to use the same primitives as elsewhere to determine the type context for a `throw` statement and the caught error type within a `do..catch` statement. This makes explicitly-specified `throws` work on `do..catch` that occurs in closures. Cleans up some redundant computations for caught error types.
94 KiB
94 KiB