File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -933,13 +933,14 @@ RequirementCheckResult TypeChecker::checkGenericArguments(
933
933
RequirementCheckResult
934
934
TypeChecker::checkGenericArguments (ModuleDecl *module ,
935
935
ArrayRef<Requirement> requirements,
936
- TypeSubstitutionFn substitutions) {
936
+ TypeSubstitutionFn substitutions,
937
+ SubstOptions options) {
937
938
SmallVector<Requirement, 4 > worklist;
938
939
bool valid = true ;
939
940
940
941
for (auto req : requirements) {
941
942
if (auto resolved = req.subst (substitutions,
942
- LookUpConformanceInModule (module ))) {
943
+ LookUpConformanceInModule (module ), options )) {
943
944
worklist.push_back (*resolved);
944
945
} else {
945
946
valid = false ;
Original file line number Diff line number Diff line change @@ -484,7 +484,8 @@ RequirementCheckResult checkGenericArguments(
484
484
RequirementCheckResult checkGenericArguments (
485
485
ModuleDecl *module ,
486
486
ArrayRef<Requirement> requirements,
487
- TypeSubstitutionFn substitutions);
487
+ TypeSubstitutionFn substitutions,
488
+ SubstOptions options = None);
488
489
489
490
// / Checks whether the generic requirements imposed on the nested type
490
491
// / declaration \p decl (if present) are in agreement with the substitutions
You can’t perform that action at this time.
0 commit comments