We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c68157a commit 9481e01Copy full SHA for 9481e01
lib/Sema/CSBindings.cpp
@@ -182,6 +182,7 @@ void ConstraintSystem::PotentialBindings::addPotentialBinding(
182
// check whether we can combine it with another
183
// supertype binding by computing the 'join' of the types.
184
if (binding.Kind == AllowedBindingKind::Supertypes &&
185
+ !binding.BindingType->hasUnresolvedType() &&
186
!binding.BindingType->hasTypeVariable() &&
187
!binding.BindingType->hasUnboundGenericType() &&
188
!binding.DefaultedProtocol && !binding.isDefaultableBinding() &&
0 commit comments