File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1898,15 +1898,17 @@ static ProtocolConformanceRef getPackTypeConformance(
1898
1898
auto patternConformance =
1899
1899
(patternType->isTypeParameter ()
1900
1900
? ProtocolConformanceRef (protocol)
1901
- : mod->lookupConformance (patternType, protocol));
1901
+ : mod->lookupConformance (patternType, protocol,
1902
+ /* allowMissing=*/ true ));
1902
1903
patternConformances.push_back (patternConformance);
1903
1904
continue ;
1904
1905
}
1905
1906
1906
1907
auto patternConformance =
1907
1908
(packElement->isTypeParameter ()
1908
1909
? ProtocolConformanceRef (protocol)
1909
- : mod->lookupConformance (packElement, protocol));
1910
+ : mod->lookupConformance (packElement, protocol,
1911
+ /* allowMissing=*/ true ));
1910
1912
patternConformances.push_back (patternConformance);
1911
1913
}
1912
1914
You can’t perform that action at this time.
0 commit comments