mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
handle dbg when unwrapping suffixed !
This commit is contained in:
parent
8818b37fa2
commit
9a7b62ac22
3 changed files with 73 additions and 3 deletions
|
@ -610,7 +610,7 @@ pub fn is_expr_suffixed(expr: &Expr) -> bool {
|
|||
Expr::Expect(a, b) | Expr::Dbg(a, b) => {
|
||||
is_expr_suffixed(&a.value) || is_expr_suffixed(&b.value)
|
||||
}
|
||||
Expr::LowLevelDbg(_, _, _) => todo!(),
|
||||
Expr::LowLevelDbg(_, a, b) => is_expr_suffixed(&a.value) || is_expr_suffixed(&b.value),
|
||||
Expr::UnaryOp(a, _) => is_expr_suffixed(&a.value),
|
||||
Expr::When(a, _) => is_expr_suffixed(&a.value),
|
||||
Expr::SpaceBefore(a, _) => is_expr_suffixed(a),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue