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 95cd8ed commit d7107adCopy full SHA for d7107ad
include/swift/SIL/SILCloner.h
@@ -596,11 +596,7 @@ class SILCloner : protected SILInstructionVisitor<ImplClass> {
596
!context.shouldLookThroughOpaqueTypeArchetypes())
597
return Subs;
598
599
- ReplaceOpaqueTypesWithUnderlyingTypes replacer(
600
- context.getContext(), context.getResilienceExpansion(),
601
- context.isWholeModuleContext());
602
- return Subs.subst(replacer, replacer,
603
- SubstFlags::SubstituteOpaqueArchetypes);
+ return Subs.mapIntoTypeExpansionContext(context);
604
}
605
606
0 commit comments