trunk
ondra05 2022-05-06 17:30:41 +02:00
parent a43b14741d
commit 3cc80b7a94
1 changed files with 1 additions and 1 deletions

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,
}