passing tests!

This commit is contained in:
Folkert 2021-05-20 22:43:55 +02:00
parent 910a7e5113
commit 1d7ca32101
3 changed files with 8 additions and 7 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);

View File

@ -19,7 +19,7 @@ use roc_types::subs::{Content, FlatType, Subs, Variable};
use std::collections::HashMap;
use ven_pretty::{BoxAllocator, DocAllocator, DocBuilder};
pub const PRETTY_PRINT_IR_SYMBOLS: bool = true;
pub const PRETTY_PRINT_IR_SYMBOLS: bool = false;
macro_rules! return_on_layout_error {
($env:expr, $layout_result:expr) => {

View File

@ -1813,6 +1813,7 @@ mod test_mono {
dec Test.14;
let Test.8 = CallByName Test.1;
let Test.6 = CallByName List.7 Test.8;
dec Test.8;
let Test.4 = CallByName Num.24 Test.5 Test.6;
ret Test.4;
"#