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 08b2718 commit 66e5910Copy full SHA for 66e5910
include/swift/SIL/SILCloner.h
@@ -590,11 +590,7 @@ class SILCloner : protected SILInstructionVisitor<ImplClass> {
590
!context.shouldLookThroughOpaqueTypeArchetypes())
591
return Subs;
592
593
- ReplaceOpaqueTypesWithUnderlyingTypes replacer(
594
- context.getContext(), context.getResilienceExpansion(),
595
- context.isWholeModuleContext());
596
- return Subs.subst(replacer, replacer,
597
- SubstFlags::SubstituteOpaqueArchetypes);
+ return Subs.mapIntoTypeExpansionContext(context);
598
}
599
600
0 commit comments