[ConstraintSystem] Add a locator element to represent a generic type

This locator is going to be used as a "parent" element for
"generic argument" elements.
This commit is contained in:
Pavel Yaskevich
2023-03-03 18:50:19 -08:00
committed by Pavel Yaskevich
parent 1dd6d349d1
commit 17b09a801e
4 changed files with 26 additions and 0 deletions

View File

@@ -5372,6 +5372,7 @@ void constraints::simplifyLocator(ASTNode &anchor,
continue;
case ConstraintLocator::TupleType:
case ConstraintLocator::GenericType:
path = path.slice(1);
continue;