mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
some foundations for zero-sized values in closures
This commit is contained in:
parent
114e08f05f
commit
2a872f180a
4 changed files with 56 additions and 7 deletions
|
@ -1612,6 +1612,19 @@ fn update<'a>(
|
|||
{
|
||||
// state.timings.insert(module_id, module_timing);
|
||||
|
||||
// display the mono IR of the module, for debug purposes
|
||||
if false {
|
||||
let procs_string = state
|
||||
.procedures
|
||||
.values()
|
||||
.map(|proc| proc.to_pretty(200))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let result = procs_string.join("\n");
|
||||
|
||||
println!("{}", result);
|
||||
}
|
||||
|
||||
Proc::insert_refcount_operations(arena, &mut state.procedures);
|
||||
|
||||
msg_tx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue