fix bug where results of top-level thunks are not RC'd

This commit is contained in:
Folkert 2021-05-20 22:39:14 +02:00
parent 955d39a91e
commit 910a7e5113
2 changed files with 8 additions and 11 deletions

View file

@ -2063,12 +2063,12 @@ fn update<'a>(
println!("{}", result);
}
Proc::optimize_refcount_operations(
arena,
module_id,
&mut ident_ids,
&mut state.procedures,
);
// Proc::optimize_refcount_operations(
// arena,
// module_id,
// &mut ident_ids,
// &mut state.procedures,
// );
state.constrained_ident_ids.insert(module_id, ident_ids);