mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
make uniqueness change codegen
This commit is contained in:
parent
9e11526c1d
commit
79ea62b9d4
6 changed files with 52 additions and 37 deletions
|
@ -224,6 +224,8 @@ pub fn gen(
|
|||
|
||||
// Populate Procs further and get the low-level Expr from the canonical Expr
|
||||
let main_body = Stmt::new(&mut mono_env, loc_expr.value, &mut procs);
|
||||
let main_body =
|
||||
roc_mono::inc_dec::visit_declaration(mono_env.arena, mono_env.arena.alloc(main_body));
|
||||
let mut headers = {
|
||||
let num_headers = match &procs.pending_specializations {
|
||||
Some(map) => map.len(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue