mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Address review feedback
This commit is contained in:
@@ -492,12 +492,6 @@ SubstitutionMap SubstitutionMap::subst(TypeSubstitutionFn subs,
|
||||
return SubstitutionMap(genericSig, newSubs, newConformances);
|
||||
}
|
||||
|
||||
SubstitutionMap SubstitutionMap::substOpaqueTypesWithUnderlyingTypes(
|
||||
ModuleDecl *modulePerformingSubstitution) const {
|
||||
ReplaceOpaqueTypesWithUnderlyingTypes replacer(modulePerformingSubstitution);
|
||||
return subst(replacer, replacer, SubstFlags::SubstituteOpaqueArchetypes);
|
||||
}
|
||||
|
||||
SubstitutionMap
|
||||
SubstitutionMap::getProtocolSubstitutions(ProtocolDecl *protocol,
|
||||
Type selfType,
|
||||
|
||||
Reference in New Issue
Block a user