AST: Remove unnecessary ModuleDecl parameter from GenericSignature::getSubstitutions()

This commit is contained in:
Slava Pestov
2016-12-22 09:43:14 -05:00
parent 12326013e3
commit caa7045ae5
17 changed files with 29 additions and 46 deletions

View File

@@ -4006,7 +4006,7 @@ Type ModuleFile::getType(TypeID TID) {
}
bool ok = true;
sig->getSubstitutions(*getAssociatedModule(), mappings,
sig->getSubstitutions(mappings,
[&](CanType depTy, Type replacementTy, ProtocolType *proto)
-> ProtocolConformanceRef {
if (replacementTy->is<SubstitutableType>()