mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
make backpassing an expr
This commit is contained in:
parent
5d9e4d8e3b
commit
e2d08b8f78
10 changed files with 63 additions and 112 deletions
|
@ -460,6 +460,9 @@ pub fn canonicalize_expr<'a>(
|
|||
loc_ret,
|
||||
)
|
||||
}
|
||||
ast::Expr::Backpassing(_, _, _) => {
|
||||
unreachable!("Backpassing should have been desugared by now")
|
||||
}
|
||||
ast::Expr::Closure(loc_arg_patterns, loc_body_expr) => {
|
||||
// The globally unique symbol that will refer to this closure once it gets converted
|
||||
// into a top-level procedure for code gen.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue