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:
@@ -117,7 +117,7 @@ Type Pattern::getType() const {
|
||||
|
||||
if (auto genericEnv = dc->getGenericEnvironmentOfContext()) {
|
||||
ctx.DelayedPatternContexts.erase(this);
|
||||
Ty = genericEnv->mapTypeIntoContext(dc->getParentModule(), Ty);
|
||||
Ty = genericEnv->mapTypeIntoContext(Ty);
|
||||
PatternBits.hasInterfaceType = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user