mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Remove similar weirdness from ~ConjunctionStep
This commit is contained in:
@@ -430,10 +430,12 @@ StepResult ComponentStep::take(bool prevFailed) {
|
||||
return suspend(
|
||||
std::make_unique<DisjunctionStep>(CS, disjunction, Solutions));
|
||||
}
|
||||
case StepKind::Conjunction:
|
||||
case StepKind::Conjunction: {
|
||||
CS.retireConstraint(conjunction);
|
||||
return suspend(
|
||||
std::make_unique<ConjunctionStep>(CS, conjunction, Solutions));
|
||||
}
|
||||
}
|
||||
llvm_unreachable("Unhandled case in switch!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user