mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
passing tests!
This commit is contained in:
parent
910a7e5113
commit
1d7ca32101
3 changed files with 8 additions and 7 deletions
|
@ -2063,12 +2063,12 @@ fn update<'a>(
|
||||||
println!("{}", result);
|
println!("{}", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Proc::optimize_refcount_operations(
|
Proc::optimize_refcount_operations(
|
||||||
// arena,
|
arena,
|
||||||
// module_id,
|
module_id,
|
||||||
// &mut ident_ids,
|
&mut ident_ids,
|
||||||
// &mut state.procedures,
|
&mut state.procedures,
|
||||||
// );
|
);
|
||||||
|
|
||||||
state.constrained_ident_ids.insert(module_id, ident_ids);
|
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 std::collections::HashMap;
|
||||||
use ven_pretty::{BoxAllocator, DocAllocator, DocBuilder};
|
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 {
|
macro_rules! return_on_layout_error {
|
||||||
($env:expr, $layout_result:expr) => {
|
($env:expr, $layout_result:expr) => {
|
||||||
|
|
|
@ -1813,6 +1813,7 @@ mod test_mono {
|
||||||
dec Test.14;
|
dec Test.14;
|
||||||
let Test.8 = CallByName Test.1;
|
let Test.8 = CallByName Test.1;
|
||||||
let Test.6 = CallByName List.7 Test.8;
|
let Test.6 = CallByName List.7 Test.8;
|
||||||
|
dec Test.8;
|
||||||
let Test.4 = CallByName Num.24 Test.5 Test.6;
|
let Test.4 = CallByName Num.24 Test.5 Test.6;
|
||||||
ret Test.4;
|
ret Test.4;
|
||||||
"#
|
"#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue