This commit is contained in:
Erin 2022-05-06 17:30:41 +02:00 committed by ondra05
parent 86dfc6d1f7
commit aa29a1fc86

View file

@ -278,7 +278,7 @@ impl ExecEnv {
Stmt::Loop { body } => loop {
let res = self.eval_stmts_hs(body, true)?;
match res {
HaltStatus::Finished => {}
HaltStatus::Finished => (),
HaltStatus::Break(_) => break,
HaltStatus::Hopback(_) => continue,
}