@@ -1102,13 +1102,13 @@ bool AssociatedTypeInference::checkCurrentTypeWitnesses(
1102
1102
sanitizeProtocolRequirements (proto, proto->getRequirementSignature (),
1103
1103
sanitizedRequirements);
1104
1104
auto result =
1105
- tc. checkGenericArguments (dc, SourceLoc (), SourceLoc (),
1106
- typeInContext,
1107
- { proto->getSelfInterfaceType () },
1108
- sanitizedRequirements,
1109
- QuerySubstitutionMap{substitutions},
1110
- TypeChecker::LookUpConformance (dc),
1111
- None, nullptr , options);
1105
+ TypeChecker:: checkGenericArguments (dc, SourceLoc (), SourceLoc (),
1106
+ typeInContext,
1107
+ { proto->getSelfInterfaceType () },
1108
+ sanitizedRequirements,
1109
+ QuerySubstitutionMap{substitutions},
1110
+ TypeChecker::LookUpConformance (dc),
1111
+ None, nullptr , options);
1112
1112
switch (result) {
1113
1113
case RequirementCheckResult::Failure:
1114
1114
++NumSolutionStatesFailedCheck;
@@ -1150,7 +1150,7 @@ bool AssociatedTypeInference::checkConstrainedExtension(ExtensionDecl *ext) {
1150
1150
auto subs = typeInContext->getContextSubstitutions (ext);
1151
1151
1152
1152
SubstOptions options = getSubstOptionsWithCurrentTypeWitnesses ();
1153
- switch (tc. checkGenericArguments (
1153
+ switch (TypeChecker:: checkGenericArguments (
1154
1154
dc, SourceLoc (), SourceLoc (), adoptee,
1155
1155
ext->getGenericSignature ()->getGenericParams (),
1156
1156
ext->getGenericSignature ()->getRequirements (),
0 commit comments