AST: rename OpenArchetypeType -> ExistentialArchetypeType

NFC
This commit is contained in:
Erik Eckstein
2025-03-11 20:21:46 +01:00
parent ca76efabb4
commit d225c47d25
60 changed files with 153 additions and 150 deletions

View File

@@ -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() &&