mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: PackConformance::getAssociatedType() => getTypeWitness()
This commit is contained in:
@@ -199,7 +199,7 @@ Type ProtocolConformanceRef::getTypeWitness(Type conformingType,
|
||||
if (isPack()) {
|
||||
auto *pack = getPack();
|
||||
ASSERT(conformingType->isEqual(pack->getType()));
|
||||
return pack->getAssociatedType(assocType->getDeclaredInterfaceType());
|
||||
return pack->getTypeWitness(assocType);
|
||||
}
|
||||
|
||||
auto failed = [&]() {
|
||||
|
||||
Reference in New Issue
Block a user