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:
@@ -183,7 +183,8 @@ public:
|
||||
if (genericParams.size() != args.size())
|
||||
return Type();
|
||||
|
||||
auto subMap = genericSig->getSubstitutionMap(
|
||||
auto subMap = SubstitutionMap::get(
|
||||
genericSig,
|
||||
[&](SubstitutableType *t) -> Type {
|
||||
for (unsigned i = 0, e = genericParams.size(); i < e; ++i) {
|
||||
if (t->isEqual(genericParams[i]))
|
||||
|
||||
Reference in New Issue
Block a user