Add support for become expr/tail calls

This commit is contained in:
Maybe Waffle 2023-06-07 16:30:31 +00:00
parent 3bb8d3a32f
commit e146139957
16 changed files with 144 additions and 6 deletions

View file

@ -329,6 +329,7 @@ pub fn for_each_tail_expr(expr: &ast::Expr, cb: &mut dyn FnMut(&ast::Expr)) {
| ast::Expr::RecordExpr(_)
| ast::Expr::RefExpr(_)
| ast::Expr::ReturnExpr(_)
| ast::Expr::BecomeExpr(_)
| ast::Expr::TryExpr(_)
| ast::Expr::TupleExpr(_)
| ast::Expr::LetExpr(_)