Skip to content

Commit 3b4c637

Browse files
committed
[ConstraintSystem] Implement simplication of assorted Type elements
1 parent fed7c69 commit 3b4c637

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,8 +4871,14 @@ void constraints::simplifyLocator(ASTNode &anchor,
48714871
continue;
48724872
}
48734873

4874-
default:
4875-
// FIXME: Lots of other cases to handle.
4874+
case ConstraintLocator::PackType:
4875+
case ConstraintLocator::ParentType:
4876+
case ConstraintLocator::KeyPathType:
4877+
case ConstraintLocator::InstanceType:
4878+
case ConstraintLocator::PlaceholderType:
4879+
case ConstraintLocator::SequenceElementType:
4880+
case ConstraintLocator::ConstructorMemberType:
4881+
case ConstraintLocator::ExistentialSuperclassType:
48764882
break;
48774883
}
48784884

0 commit comments

Comments
 (0)