mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintSystem] NFC: Add hasFix() to DisjunctionChoice
This commit is contained in:
@@ -2525,10 +2525,9 @@ void ConstraintSystem::generateConstraints(
|
||||
}
|
||||
|
||||
for (auto index : indices(choices)) {
|
||||
const auto &choice = choices[index];
|
||||
if (favoredIndex && (*favoredIndex == index))
|
||||
continue;
|
||||
|
||||
recordChoice(constraints, index, choice);
|
||||
recordChoice(constraints, index, choices[index]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user