AST: GenericEnvironment::mapTypeIntoContext() no longer needs to take a ModuleDecl

Now, use LookUpConformanceInSignature instead.
This commit is contained in:
Slava Pestov
2017-02-07 15:48:01 -08:00
parent 2aea662cb7
commit bd4f31025f
18 changed files with 31 additions and 45 deletions

View File

@@ -2051,7 +2051,7 @@ static Type computeNominalType(NominalTypeDecl *decl, DeclTypeKind kind) {
auto *genericEnv = decl->getGenericEnvironmentOfContext();
return GenericEnvironment::mapTypeIntoContext(
decl->getModuleContext(), genericEnv, interfaceType);
genericEnv, interfaceType);
}
// Get the parent type.