AST: Remove redundant call to getASTContext()

This commit is contained in:
Slava Pestov
2024-04-08 23:18:25 -04:00
parent 15973e3b87
commit 2d1c6f5f30

View File

@@ -5875,7 +5875,7 @@ ASTContext::getOpenedExistentialSignature(Type type, GenericSignature parentSig)
return found->second;
auto genericParam = OpenedArchetypeType::getSelfInterfaceTypeFromContext(
canParentSig, type->getASTContext())
canParentSig, *this)
->castTo<GenericTypeParamType>();
Requirement requirement(RequirementKind::Conformance, genericParam,
constraint);