mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: GenericEnvironment::mapTypeIntoContext() no longer needs to take a ModuleDecl
Now, use LookUpConformanceInSignature instead.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user