File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -3776,9 +3776,7 @@ ConstraintSystem::simplifyRestrictedConstraintImpl(
3776
3776
getConstraintLocator (locator));
3777
3777
3778
3778
Constraint *disjunctionChoices[] = {int8Con, uint8Con, voidCon};
3779
- addUnsolvedConstraint (
3780
- Constraint::createDisjunction (*this , disjunctionChoices,
3781
- getConstraintLocator (locator)));
3779
+ addDisjunctionConstraint (disjunctionChoices, locator);
3782
3780
return SolutionKind::Solved;
3783
3781
}
3784
3782
Original file line number Diff line number Diff line change @@ -1858,9 +1858,8 @@ class ConstraintSystem {
1858
1858
// /
1859
1859
// / \returns the result of performing the tuple-to-tuple conversion.
1860
1860
SolutionKind matchTupleTypes (TupleType *tuple1, TupleType *tuple2,
1861
- TypeMatchKind kind,
1862
- TypeMatchOptions flags,
1863
- ConstraintLocatorBuilder locator);
1861
+ TypeMatchKind kind, TypeMatchOptions flags,
1862
+ ConstraintLocatorBuilder locator);
1864
1863
1865
1864
// / \brief Subroutine of \c matchTypes(), which matches a scalar type to
1866
1865
// / a tuple type.
You can’t perform that action at this time.
0 commit comments