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 80f8487 commit 86f37e2Copy full SHA for 86f37e2
lib/SIL/Verifier/SILVerifier.cpp
@@ -5719,10 +5719,9 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
5719
auto substConformances = [&](CanType dependentType,
5720
Type conformingType,
5721
ProtocolDecl *protocol) -> ProtocolConformanceRef {
5722
- // FIXME: substitute back to the pack context to get the
5723
- // corresponding conformance pack, then project out the
5724
- // appropriate lane.
5725
- llvm_unreachable("unimplemented");
+ // FIXME: This violates the spirit of this verifier check.
+ return protocol->getParentModule()
+ ->lookupConformance(conformingType, protocol);
5726
};
5727
5728
// If the pack components and expected element types are SIL types,
0 commit comments