mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintSystem] Remove RValueAdjustment locator element
It was used for unresolved member and `.dynamicType` references as well as a couple of other places, but now unresolved member references no longer need that due to new implicit "chain result" AST node and other places could use more precise locators e.g. new `.dynamicType` locator or `sequence element` for `for in` loops.
This commit is contained in:
@@ -54,7 +54,7 @@ unsigned LocatorPathElt::getNewSummaryFlags() const {
|
||||
case ConstraintLocator::ParentType:
|
||||
case ConstraintLocator::ExistentialSuperclassType:
|
||||
case ConstraintLocator::LValueConversion:
|
||||
case ConstraintLocator::RValueAdjustment:
|
||||
case ConstraintLocator::DynamicType:
|
||||
case ConstraintLocator::SubscriptMember:
|
||||
case ConstraintLocator::OpenedGeneric:
|
||||
case ConstraintLocator::GenericParameter:
|
||||
@@ -350,8 +350,8 @@ void ConstraintLocator::dump(SourceManager *sm, raw_ostream &out) const {
|
||||
out << "@lvalue-to-inout conversion";
|
||||
break;
|
||||
|
||||
case RValueAdjustment:
|
||||
out << "rvalue adjustment";
|
||||
case DynamicType:
|
||||
out << "`.dynamicType` reference";
|
||||
break;
|
||||
|
||||
case SubscriptMember:
|
||||
|
||||
Reference in New Issue
Block a user