mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-10 22:06:17 +00:00
Update List.swap to no longer use Nat
This commit is contained in:
parent
27474d4ed8
commit
2cf7b5b5ca
4 changed files with 17 additions and 13 deletions
|
@ -1918,8 +1918,8 @@ trait Backend<'a> {
|
|||
// list: RocList,
|
||||
// alignment: u32,
|
||||
// element_width: usize,
|
||||
// index_1: usize,
|
||||
// index_2: usize,
|
||||
// index_1: u64,
|
||||
// index_2: u64,
|
||||
// update_mode: UpdateMode,
|
||||
|
||||
self.build_fn_call(
|
||||
|
@ -1937,8 +1937,8 @@ trait Backend<'a> {
|
|||
list_layout,
|
||||
Layout::U32,
|
||||
layout_usize,
|
||||
layout_usize,
|
||||
layout_usize,
|
||||
Layout::U64,
|
||||
Layout::U64,
|
||||
Layout::U8,
|
||||
],
|
||||
ret_layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue