mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove DeclContext::mapTypeOutOfContext()
This commit is contained in:
@@ -124,7 +124,7 @@ void IterativeTypeChecker::processResolveInheritedClauseEntry(
|
||||
|
||||
auto type = inherited->getType();
|
||||
if (!type.isNull() && !isa<ProtocolDecl>(dc))
|
||||
inherited->setType(dc->mapTypeOutOfContext(type));
|
||||
inherited->setType(type->mapTypeOutOfContext());
|
||||
}
|
||||
|
||||
bool IterativeTypeChecker::breakCycleForResolveInheritedClauseEntry(
|
||||
|
||||
Reference in New Issue
Block a user