mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
fix closure RC increments
This commit is contained in:
parent
04968d6394
commit
c5bb041edd
1 changed files with 7 additions and 6 deletions
|
@ -2061,12 +2061,13 @@ fn update<'a>(
|
||||||
|
|
||||||
println!("{}", result);
|
println!("{}", result);
|
||||||
}
|
}
|
||||||
// Proc::optimize_refcount_operations(
|
|
||||||
// arena,
|
Proc::optimize_refcount_operations(
|
||||||
// module_id,
|
arena,
|
||||||
// &mut ident_ids,
|
module_id,
|
||||||
// &mut state.procedures,
|
&mut ident_ids,
|
||||||
// );
|
&mut state.procedures,
|
||||||
|
);
|
||||||
|
|
||||||
state.constrained_ident_ids.insert(module_id, ident_ids);
|
state.constrained_ident_ids.insert(module_id, ident_ids);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue