AST: Remove origType parameter from ProtocolConformanceRef::getAssociatedType()

This commit is contained in:
Slava Pestov
2025-04-01 17:24:50 -04:00
parent a209ff8869
commit 0616333129
5 changed files with 8 additions and 15 deletions

View File

@@ -628,7 +628,7 @@ Type ProtocolConformance::getAssociatedType(Type assocType) const {
"associated type must be a type parameter");
ProtocolConformanceRef ref(const_cast<ProtocolConformance*>(this));
return ref.getAssociatedType(getType(), assocType);
return ref.getAssociatedType(assocType);
}
ProtocolConformanceRef