mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Fix refcount tests
This commit is contained in:
parent
767d76ce02
commit
2b82de1e3f
1 changed files with 2 additions and 8 deletions
|
@ -59,10 +59,7 @@ fn list_int_inc() {
|
||||||
),
|
),
|
||||||
RocList<RocList<i64>>,
|
RocList<RocList<i64>>,
|
||||||
&[
|
&[
|
||||||
// TODO be smarter about coalescing polymorphic list values
|
Live(3), // list
|
||||||
Live(1), // list0
|
|
||||||
Live(1), // list1
|
|
||||||
Live(1), // list2
|
|
||||||
Live(1) // result
|
Live(1) // result
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -80,10 +77,7 @@ fn list_int_dealloc() {
|
||||||
),
|
),
|
||||||
usize,
|
usize,
|
||||||
&[
|
&[
|
||||||
// TODO be smarter about coalescing polymorphic list values
|
Deallocated, // list
|
||||||
Deallocated, // list0
|
|
||||||
Deallocated, // list1
|
|
||||||
Deallocated, // list2
|
|
||||||
Deallocated // result
|
Deallocated // result
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue