Fix match bug when no case matches (#677)

This commit is contained in:
Geoff Romer
2021-07-27 11:14:10 -07:00
committed by GitHub
parent 165651c75c
commit fb0c0b63bf
4 changed files with 15 additions and 1 deletions
@@ -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);
}
}
}