Fix builds.

This commit is contained in:
Stephen Chung
2021-04-04 15:06:13 +08:00
parent e6c878edf3
commit 20aaf1826a
7 changed files with 25 additions and 22 deletions

View File

@@ -616,7 +616,7 @@ fn optimize_expr(expr: &mut Expr, state: &mut State) {
if let Stmt::Expr(e) = mem::take(&mut x.statements[0]) {
*expr = e;
} else {
unreachable!();
unreachable!();
}
}
// { stmt; ... } - do not count promotion as dirty because it gets turned back into an array