Skip to content

Commit 983dc25

Browse files
committed
Sema: Replace a checkConformance() call with lookupConformance()
1 parent 6027bf4 commit 983dc25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/CSApply.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ Solution::computeSubstitutions(GenericSignature sig,
113113
}
114114

115115
// FIXME: Retrieve the conformance from the solution itself.
116-
return getConstraintSystem().DC->getParentModule()->checkConformance(
117-
replacement, protoType);
116+
return getConstraintSystem().DC->getParentModule()->lookupConformance(
117+
replacement, protoType, /*allowMissing=*/true);
118118
};
119119

120120
return SubstitutionMap::get(sig,

0 commit comments

Comments
 (0)