mirror of
https://github.com/apple/swift.git
synced 2026-03-08 18:24:30 +01:00
Introduce a new API to find the AST node that catches or rethrows an error thrown from the given source location. Use it to determine the thrown error type to use for type checking a `throw` statement, which begins as `any Error` within a `do..catch` and is later refined.
8.4 KiB
8.4 KiB