mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove GenericSignature::getSubstitutionMap()
This commit is contained in:
@@ -220,9 +220,9 @@ Type GenericEnvironment::getSugaredType(Type type) const {
|
||||
|
||||
SubstitutionMap GenericEnvironment::getForwardingSubstitutionMap() const {
|
||||
auto *genericSig = getGenericSignature();
|
||||
return genericSig->getSubstitutionMap(
|
||||
QueryInterfaceTypeSubstitutions(this),
|
||||
MakeAbstractConformanceForGenericType());
|
||||
return SubstitutionMap::get(genericSig,
|
||||
QueryInterfaceTypeSubstitutions(this),
|
||||
MakeAbstractConformanceForGenericType());
|
||||
}
|
||||
|
||||
std::pair<Type, ProtocolConformanceRef>
|
||||
|
||||
Reference in New Issue
Block a user