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(
18981898 auto patternConformance =
18991899 (patternType->isTypeParameter ()
19001900 ? ProtocolConformanceRef (protocol)
1901- : mod->lookupConformance (patternType, protocol));
1901+ : mod->lookupConformance (patternType, protocol,
1902+ /* allowMissing=*/ true ));
19021903 patternConformances.push_back (patternConformance);
19031904 continue ;
19041905 }
19051906
19061907 auto patternConformance =
19071908 (packElement->isTypeParameter ()
19081909 ? ProtocolConformanceRef (protocol)
1909- : mod->lookupConformance (packElement, protocol));
1910+ : mod->lookupConformance (packElement, protocol,
1911+ /* allowMissing=*/ true ));
19101912 patternConformances.push_back (patternConformance);
19111913 }
19121914
You can’t perform that action at this time.
0 commit comments