Fix refcount tests

This commit is contained in:
Ayaz Hafiz 2022-05-04 13:50:35 -04:00
parent 767d76ce02
commit 2b82de1e3f
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -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
] ]
); );