AST: TypeChecker::conformsToProtocol() => ModuleDecl::checkConformance()

This commit is contained in:
Slava Pestov
2024-01-16 15:18:44 -05:00
parent 1e950b1725
commit 14d1fcb51a
35 changed files with 151 additions and 193 deletions

View File

@@ -389,7 +389,7 @@ ConcreteExistentialInfo::ConcreteExistentialInfo(SILValue existential,
// We have the open_existential; we still need the conformance.
auto ConformanceRef =
M->getSwiftModule()->conformsToProtocol(ConcreteTypeCandidate, Protocol);
M->getSwiftModule()->checkConformance(ConcreteTypeCandidate, Protocol);
if (ConformanceRef.isInvalid())
return;