mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Record expression patterns in the trail
This commit is contained in:
@@ -489,6 +489,10 @@ void SolverTrail::Change::undo(ConstraintSystem &cs) const {
|
||||
case ChangeKind::RecordedPotentialThrowSite:
|
||||
cs.removePotentialThrowSite(TheCatchNode);
|
||||
break;
|
||||
|
||||
case ChangeKind::RecordedExprPattern:
|
||||
cs.removeExprPatternFor(TheExpr);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user