Skip to content

Commit 029b112

Browse files
committed
[ConstraintSystem] Implement simplication of generic requirement elements
1 parent 46ecae3 commit 029b112

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4900,6 +4900,12 @@ void constraints::simplifyLocator(ASTNode &anchor,
49004900
case ConstraintLocator::KeyPathRoot:
49014901
case ConstraintLocator::KeyPathValue:
49024902
break;
4903+
4904+
case ConstraintLocator::ProtocolRequirement:
4905+
case ConstraintLocator::ConditionalRequirement:
4906+
case ConstraintLocator::ConformanceRequirement:
4907+
case ConstraintLocator::TypeParameterRequirement:
4908+
break;
49034909
}
49044910

49054911
// If we get here, we couldn't simplify the path further.

0 commit comments

Comments
 (0)