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 e06012b commit c6e0668Copy full SHA for c6e0668
lib/Sema/TypeCheckProtocol.cpp
@@ -5102,8 +5102,8 @@ diagnoseMissingAppendInterpolationMethod(NominalTypeDecl *typeDecl) {
5102
5103
std::vector<ProtocolConformance *>
5104
LookupAllConformancesInContextRequest::evaluate(
5105
- Evaluator &eval, const IterableDeclContext *IDC) const {
5106
- auto result = IDC->getLocalConformances(ConformanceLookupKind::All);
+ Evaluator &eval, const DeclContext *DC) const {
+ auto result = DC->getLocalConformances(ConformanceLookupKind::All);
5107
return std::vector<ProtocolConformance *>(result.begin(), result.end());
5108
}
5109
0 commit comments