mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Desugar Record Builder
This commit is contained in:
parent
71c80171d4
commit
dfa9c29147
2 changed files with 126 additions and 4 deletions
|
@ -1052,6 +1052,9 @@ pub fn canonicalize_expr<'a>(
|
|||
can_defs_with_return(env, var_store, inner_scope, env.arena.alloc(defs), loc_ret)
|
||||
})
|
||||
}
|
||||
ast::Expr::RecordBuilder(_) => {
|
||||
unreachable!("RecordBuilder should have been desugared by now")
|
||||
}
|
||||
ast::Expr::Backpassing(_, _, _) => {
|
||||
unreachable!("Backpassing should have been desugared by now")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue