swift
f58f815c - [Sema] Ensure `classifyThrownErrorType` treats hole as dependent type (#89767)

Commit
23 days ago
[Sema] Ensure `classifyThrownErrorType` treats hole as dependent type (#89767) A type with a hole cannot be matched using `TypeChecker::isConvertibleTo` since we cannot allow solver-allocated types to escape the parent constraint system. Treat it as `ThrownErrorClassification::Dependent` which ensures it goes through `matchTypes` instead.
Author
Loading