[AST] Remove UnresolvedType

We have now removed all uses of this type.
This commit is contained in:
Hamish Knight
2025-10-01 22:30:46 +01:00
parent 5171b84dba
commit 954b08cae5
20 changed files with 26 additions and 99 deletions

View File

@@ -7424,7 +7424,6 @@ ConstraintSystem::matchTypes(Type type1, Type type2, ConstraintKind kind,
#include "swift/AST/TypeNodes.def"
case TypeKind::Error:
case TypeKind::Unresolved:
return getTypeMatchFailure(locator);
case TypeKind::BuiltinFixedArray: {
@@ -8453,7 +8452,6 @@ ConstraintSystem::simplifyConstructionConstraint(
case TypeKind::BuiltinTuple:
llvm_unreachable("BuiltinTupleType in constraint");
case TypeKind::Unresolved:
case TypeKind::Error:
case TypeKind::Placeholder:
return SolutionKind::Error;