mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: rename OpenArchetypeType -> ExistentialArchetypeType
NFC
This commit is contained in:
@@ -2487,7 +2487,7 @@ void CompletionLookup::getValueExprCompletions(Type ExprType, ValueDecl *VD,
|
||||
|
||||
if (!ExprType->getMetatypeInstanceType()->isAnyObject()) {
|
||||
if (ExprType->isAnyExistentialType()) {
|
||||
ExprType = OpenedArchetypeType::getAny(ExprType->getCanonicalType());
|
||||
ExprType = ExistentialArchetypeType::getAny(ExprType->getCanonicalType());
|
||||
}
|
||||
}
|
||||
if (!IsSelfRefExpr && !IsSuperRefExpr && ExprType->getAnyNominal() &&
|
||||
|
||||
Reference in New Issue
Block a user