mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
append must now own its first argument too
This commit is contained in:
parent
ca8c23e448
commit
b7ed6929ba
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ pub fn lowlevel_borrow_signature(arena: &Bump, op: LowLevel) -> &[bool] {
|
|||
|
||||
// TODO when we have lists with capacity (if ever)
|
||||
// List.append should own its first argument
|
||||
ListAppend => arena.alloc_slice_copy(&[borrowed, owned]),
|
||||
ListAppend => arena.alloc_slice_copy(&[owned, owned]),
|
||||
|
||||
Eq | NotEq => arena.alloc_slice_copy(&[borrowed, borrowed]),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue