@@ -1089,7 +1089,7 @@ CanType swift::substOpaqueTypesWithUnderlyingTypes(CanType ty,
10891089}
10901090
10911091static ProtocolConformanceRef substOpaqueTypesWithUnderlyingTypesRec (
1092- ProtocolConformanceRef ref, Type origType, const DeclContext *inContext,
1092+ ProtocolConformanceRef ref, const DeclContext *inContext,
10931093 ResilienceExpansion contextExpansion, bool isWholeModuleContext,
10941094 llvm::DenseSet<ReplaceOpaqueTypesWithUnderlyingTypes::SeenDecl> &decls) {
10951095 ReplaceOpaqueTypesWithUnderlyingTypes replacer (inContext, contextExpansion,
@@ -1100,7 +1100,7 @@ static ProtocolConformanceRef substOpaqueTypesWithUnderlyingTypesRec(
11001100}
11011101
11021102ProtocolConformanceRef swift::substOpaqueTypesWithUnderlyingTypes (
1103- ProtocolConformanceRef ref, Type origType, TypeExpansionContext context) {
1103+ ProtocolConformanceRef ref, TypeExpansionContext context) {
11041104 ReplaceOpaqueTypesWithUnderlyingTypes replacer (
11051105 context.getContext (), context.getResilienceExpansion (),
11061106 context.isWholeModuleContext ());
@@ -1174,7 +1174,7 @@ operator()(CanType maybeOpaqueType, Type replacementType,
11741174 }
11751175
11761176 auto res = ::substOpaqueTypesWithUnderlyingTypesRec (
1177- substRef, substTy, inContext, contextExpansion, isContextWholeModule,
1177+ substRef, inContext, contextExpansion, isContextWholeModule,
11781178 *alreadySeen);
11791179 alreadySeen->erase (seenKey);
11801180 return res;
@@ -1184,7 +1184,7 @@ operator()(CanType maybeOpaqueType, Type replacementType,
11841184 llvm::DenseSet<SeenDecl> seenDecls;
11851185 seenDecls.insert (seenKey);
11861186 return ::substOpaqueTypesWithUnderlyingTypesRec (
1187- substRef, substTy, inContext, contextExpansion, isContextWholeModule,
1187+ substRef, inContext, contextExpansion, isContextWholeModule,
11881188 seenDecls);
11891189 }
11901190 }
0 commit comments