mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Move Utilities back to TypeChecker
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user