mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
fix tests
This commit is contained in:
parent
65ab08728a
commit
3be7df1cac
3 changed files with 6 additions and 14 deletions
|
@ -153,7 +153,7 @@ pub fn listKeepIf(list: RocList, transform: Opaque, caller: Caller1, alignment:
|
|||
if (list.bytes) |source_ptr| {
|
||||
const size = list.len();
|
||||
var i: usize = 0;
|
||||
var output = list.makeUnique(std.heap.c_allocator, alignment, list.len() * element_width);
|
||||
var output = RocList.allocate(std.heap.c_allocator, alignment, list.len(), list.len() * element_width);
|
||||
const target_ptr = output.bytes orelse unreachable;
|
||||
|
||||
var kept: usize = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue