mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: TypeChecker::conformsToProtocol() => ModuleDecl::checkConformance()
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user