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