Skip to content

Commit b6fc417

Browse files
committed
---
yaml --- r: 347871 b: refs/heads/master c: 89c9b50 h: refs/heads/master i: 347869: fdd8caa 347867: 8f82320 347863: 57b0eae 347855: 1e61183 347839: 43ae2ec
1 parent ffeccbe commit b6fc417

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b3161731a52df07201979a536ee72ff7c083bce4
2+
refs/heads/master: 89c9b506a11c8d0d8d12a9d39ce0d4e580a389d3
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/lib/Sema/CSDiag.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -733,12 +733,6 @@ void FailureDiagnosis::diagnoseUnviableLookupResults(
733733
return problem == firstProblem;
734734
});
735735

736-
ValueDecl *member = nullptr;
737-
for (auto cand : result.UnviableCandidates) {
738-
if (member == nullptr)
739-
member = cand.getDecl();
740-
}
741-
742736
auto instanceTy = baseObjTy;
743737
if (auto *MTT = instanceTy->getAs<AnyMetatypeType>())
744738
instanceTy = MTT->getInstanceType();

0 commit comments

Comments
 (0)