mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
committed by
Pavel Yaskevich
parent
1dd6d349d1
commit
17b09a801e
@@ -5372,6 +5372,7 @@ void constraints::simplifyLocator(ASTNode &anchor,
|
||||
continue;
|
||||
|
||||
case ConstraintLocator::TupleType:
|
||||
case ConstraintLocator::GenericType:
|
||||
path = path.slice(1);
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user