mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 07:49:17 +03:00
passing tests!
This commit is contained in:
parent
910a7e5113
commit
1d7ca32101
@ -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);
|
||||
|
||||
|
@ -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) => {
|
||||
|
@ -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;
|
||||
"#
|
||||
|
Loading…
Reference in New Issue
Block a user