mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Update List.sublist to no longer use Nat
This commit is contained in:
parent
2cf7b5b5ca
commit
a71188dc30
4 changed files with 29 additions and 12 deletions
|
@ -1867,8 +1867,8 @@ trait Backend<'a> {
|
|||
// list: RocList,
|
||||
// alignment: u32,
|
||||
// element_width: usize,
|
||||
// start: usize,
|
||||
// len: usize,
|
||||
// start: u64,
|
||||
// len: u64,
|
||||
// dec: Dec,
|
||||
|
||||
let list = args[0];
|
||||
|
@ -1894,8 +1894,8 @@ trait Backend<'a> {
|
|||
arg_layouts[0],
|
||||
Layout::U32,
|
||||
layout_usize,
|
||||
arg_layouts[1],
|
||||
arg_layouts[2],
|
||||
Layout::U64,
|
||||
Layout::U64,
|
||||
layout_usize,
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue