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.
2 parents 71f6797 + 03a9caa commit aa0d0f2Copy full SHA for aa0d0f2
lib/Sema/CSBindings.cpp
@@ -47,7 +47,7 @@ void ConstraintSystem::PotentialBindings::inferTransitiveBindings(
47
for (auto *constraint : conversions) {
48
auto *tv =
49
cs.simplifyType(constraint->getFirstType())->getAs<TypeVariableType>();
50
- if (!tv)
+ if (!tv || tv == TypeVar)
51
continue;
52
53
auto relatedBindings = inferredBindings.find(tv);
0 commit comments