Sema: Remove even more vestigial TypeChecker usages

This commit is contained in:
Slava Pestov
2019-11-19 17:23:44 -05:00
parent 636fc0f17e
commit ef05accd31
13 changed files with 31 additions and 38 deletions

View File

@@ -6071,7 +6071,7 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyMemberConstraint(
auto innerTV = createTypeVariable(locator,
TVO_CanBindToLValue |
TVO_CanBindToNoEscape);
Type optTy = getTypeChecker().getOptionalType(SourceLoc(), innerTV);
Type optTy = TypeChecker::getOptionalType(SourceLoc(), innerTV);
SmallVector<Constraint *, 2> optionalities;
auto nonoptionalResult = Constraint::createFixed(
*this, ConstraintKind::Bind,