Skip to content

Commit 3f47ed2

Browse files
committed
[ConstraintSystem] Implement simplication of {Function, Generic, Synthesized}Argument elements
1 parent 3b4c637 commit 3f47ed2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4880,6 +4880,11 @@ void constraints::simplifyLocator(ASTNode &anchor,
48804880
case ConstraintLocator::ConstructorMemberType:
48814881
case ConstraintLocator::ExistentialSuperclassType:
48824882
break;
4883+
4884+
case ConstraintLocator::GenericArgument:
4885+
case ConstraintLocator::FunctionArgument:
4886+
case ConstraintLocator::SynthesizedArgument:
4887+
break;
48834888
}
48844889

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

0 commit comments

Comments
 (0)