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 6ecfe7a commit df1e0faCopy full SHA for df1e0fa
lib/Sema/CSSimplify.cpp
@@ -3546,12 +3546,6 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyMemberConstraint(
3546
3547
// If the lookup found no hits at all (either viable or unviable), diagnose it
3548
// as such and try to recover in various ways.
3549
-
3550
- auto instanceTy = baseObjTy;
3551
- if (auto MTT = instanceTy->getAs<MetatypeType>())
3552
- instanceTy = MTT->getInstanceType();
3553
3554
- // Value member lookup has some hacks too.
3555
if (shouldAttemptFixes() && baseObjTy->getOptionalObjectType()) {
3556
// If the base type was an optional, look through it.
3557
0 commit comments