File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ const Requirement &RequirementFailure::getRequirement() const {
183
183
184
184
ProtocolConformance *RequirementFailure::getConformanceForConditionalReq (
185
185
ConstraintLocator *locator) {
186
- auto &cs = getConstraintSystem ();
186
+ auto &solution = getSolution ();
187
187
auto reqElt = locator->castLastElementTo <LocatorPathElt::AnyRequirement>();
188
188
if (!reqElt.isConditionalRequirement ())
189
189
return nullptr ;
@@ -192,10 +192,10 @@ ProtocolConformance *RequirementFailure::getConformanceForConditionalReq(
192
192
auto *typeReqLoc = getConstraintLocator (getRawAnchor (), path.drop_back ());
193
193
194
194
auto result = llvm::find_if (
195
- cs. CheckedConformances ,
195
+ solution. Conformances ,
196
196
[&](const std::pair<ConstraintLocator *, ProtocolConformanceRef>
197
197
&conformance) { return conformance.first == typeReqLoc; });
198
- assert (result != cs. CheckedConformances .end ());
198
+ assert (result != solution. Conformances .end ());
199
199
200
200
auto conformance = result->second ;
201
201
assert (conformance.isConcrete ());
You can’t perform that action at this time.
0 commit comments