mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user