AST: Remove DeclContext::mapTypeOutOfContext()

This commit is contained in:
Slava Pestov
2017-11-15 20:54:21 -08:00
parent cce30cc9bb
commit 2920b4fd1c
19 changed files with 27 additions and 38 deletions

View File

@@ -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(