mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
WIP partial implementation for desugar_defs_node_suffixed
This commit is contained in:
parent
3b2e9e36b8
commit
406ffdffab
4 changed files with 105 additions and 7 deletions
|
@ -1441,7 +1441,12 @@ pub fn canonicalize_expr<'a>(
|
|||
bad_expr
|
||||
);
|
||||
}
|
||||
ast::Expr::Suffixed(_) => todo!(),
|
||||
bad_expr @ ast::Expr::Suffixed(_) => {
|
||||
internal_error!(
|
||||
"A suffixed expression did not get desugared somehow: {:#?}",
|
||||
bad_expr
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
// At the end, diff used_idents and defined_idents to see which were unused.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue