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 26f0a80 commit 74d0040Copy full SHA for 74d0040
lib/Sema/CSSimplify.cpp
@@ -10060,12 +10060,6 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyFixConstraint(
10060
impact = 10;
10061
}
10062
10063
- if (locator->isLastElement<LocatorPathElt::UnresolvedMemberChainResult>()) {
10064
- // If this is a contextual failure for an unresolved member, then increase
10065
- // the impact to attempt other fixes first and avoid ambiguity.
10066
- impact = 2;
10067
- }
10068
-
10069
if (recordFix(fix, impact))
10070
return SolutionKind::Error;
10071
0 commit comments