mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Constraint solver] Address some of Mark's comments. NFC
This commit is contained in:
@@ -3776,9 +3776,7 @@ ConstraintSystem::simplifyRestrictedConstraintImpl(
|
||||
getConstraintLocator(locator));
|
||||
|
||||
Constraint *disjunctionChoices[] = {int8Con, uint8Con, voidCon};
|
||||
addUnsolvedConstraint(
|
||||
Constraint::createDisjunction(*this, disjunctionChoices,
|
||||
getConstraintLocator(locator)));
|
||||
addDisjunctionConstraint(disjunctionChoices, locator);
|
||||
return SolutionKind::Solved;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user