Skip to content

Commit c6e0668

Browse files
committed
Fix bad cherry-pick
1 parent e06012b commit c6e0668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/TypeCheckProtocol.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5102,8 +5102,8 @@ diagnoseMissingAppendInterpolationMethod(NominalTypeDecl *typeDecl) {
51025102

51035103
std::vector<ProtocolConformance *>
51045104
LookupAllConformancesInContextRequest::evaluate(
5105-
Evaluator &eval, const IterableDeclContext *IDC) const {
5106-
auto result = IDC->getLocalConformances(ConformanceLookupKind::All);
5105+
Evaluator &eval, const DeclContext *DC) const {
5106+
auto result = DC->getLocalConformances(ConformanceLookupKind::All);
51075107
return std::vector<ProtocolConformance *>(result.begin(), result.end());
51085108
}
51095109

0 commit comments

Comments
 (0)