Remove ResilienceExpansion from substOpaqueTypes for now.

It's currently meaningless, and it'll require thought to pass the correct value when it becomes
meaningful.
This commit is contained in:
Joe Groff
2019-01-18 15:48:46 -08:00
parent a6c9254612
commit e3bbd8ce9e
13 changed files with 20 additions and 28 deletions

View File

@@ -142,9 +142,8 @@ ProtocolConformanceRef::subst(Type origType,
}
ProtocolConformanceRef
ProtocolConformanceRef::substOpaqueTypesWithUnderlyingTypes(Type origType,
ResilienceExpansion expansion) const {
ReplaceOpaqueTypesWithUnderlyingTypes replacer(expansion);
ProtocolConformanceRef::substOpaqueTypesWithUnderlyingTypes(Type origType) const {
ReplaceOpaqueTypesWithUnderlyingTypes replacer;
return subst(origType, replacer, replacer,
SubstFlags::SubstituteOpaqueArchetypes);
}