mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CS] Remove some uses of hasUnresolvedType in the solver
These should be unreachable now.
This commit is contained in:
@@ -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() &&
|
||||
|
||||
Reference in New Issue
Block a user