mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 08:25:01 +01:00
Fix match bug when no case matches (#677)
This commit is contained in:
@@ -854,7 +854,7 @@ void StepStmt() {
|
||||
clause_num = (act->pos - 1) / 2;
|
||||
if (clause_num ==
|
||||
static_cast<int>(stmt->GetMatch().clauses->size())) {
|
||||
frame->todo.Pop(2);
|
||||
frame->todo.Pop(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user