Move Utilities back to TypeChecker

This commit is contained in:
Robert Widmann
2019-11-06 15:16:53 -08:00
parent fb8b0600ad
commit e6dbfa393a
9 changed files with 88 additions and 86 deletions

View File

@@ -483,9 +483,9 @@ ConstraintSystem::getCalleeLocator(ConstraintLocator *locator,
if (auto *UDE = dyn_cast<UnresolvedDotExpr>(anchor)) {
return getConstraintLocator(
anchor, getASTContext().getSelfForInitDelegationInConstructor(DC, UDE)
? ConstraintLocator::ConstructorMember
: ConstraintLocator::Member);
anchor, TypeChecker::getSelfForInitDelegationInConstructor(DC, UDE)
? ConstraintLocator::ConstructorMember
: ConstraintLocator::Member);
}
if (isa<UnresolvedMemberExpr>(anchor))