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 b0b5b2a commit 2c1297eCopy full SHA for 2c1297e
lib/AST/GenericSignature.cpp
@@ -412,12 +412,7 @@ bool GenericSignatureImpl::isRequirementSatisfied(
412
auto *genericEnv = getGenericEnvironment();
413
414
requirement = requirement.subst(
415
- [&](SubstitutableType *type) -> Type {
416
- if (auto *paramType = type->getAs<GenericTypeParamType>())
417
- return genericEnv->mapTypeIntoContext(paramType);
418
-
419
- return type;
420
- },
+ QueryInterfaceTypeSubstitutions{genericEnv},
421
LookUpConformanceInModule());
422
}
423
0 commit comments