File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2464,9 +2464,11 @@ class SILPrinter : public SILInstructionVisitor<SILPrinter> {
2464
2464
void visitOpenPackElementInst (OpenPackElementInst *OPEI) {
2465
2465
auto env = OPEI->getOpenedGenericEnvironment ();
2466
2466
auto subs = env->getPackElementContextSubstitutions ();
2467
- *this << Ctx.getID (OPEI->getIndexOperand ())
2468
- << " of " << subs.getGenericSignature ()
2469
- << " at " ;
2467
+ *this << Ctx.getID (OPEI->getIndexOperand ()) << " of " ;
2468
+ PrintOptions Opts;
2469
+ Opts.PrintInverseRequirements = true ;
2470
+ subs.getGenericSignature ().print (PrintState.OS , Opts);
2471
+ *this << " at " ;
2470
2472
printSubstitutions (subs);
2471
2473
// The shape class in the opened environment is a canonical interface
2472
2474
// type, which won't resolve in the generic signature we just printed.
You can’t perform that action at this time.
0 commit comments