[CS] Remove some uses of hasUnresolvedType in the solver

These should be unreachable now.
This commit is contained in:
Hamish Knight
2025-10-01 22:30:46 +01:00
parent bc88160378
commit f9a4386922
3 changed files with 3 additions and 12 deletions

View File

@@ -115,7 +115,6 @@ static bool isGenericParameter(TypeVariableType *TypeVar) {
bool PotentialBinding::isViableForJoin() const {
return Kind == AllowedBindingKind::Supertypes &&
!BindingType->hasLValueType() &&
!BindingType->hasUnresolvedType() &&
!BindingType->hasTypeVariable() &&
!BindingType->hasPlaceholder() &&
!BindingType->hasUnboundGenericType() &&