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> {
24642464 void visitOpenPackElementInst (OpenPackElementInst *OPEI) {
24652465 auto env = OPEI->getOpenedGenericEnvironment ();
24662466 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 " ;
24702472 printSubstitutions (subs);
24712473 // The shape class in the opened environment is a canonical interface
24722474 // type, which won't resolve in the generic signature we just printed.
You can’t perform that action at this time.
0 commit comments