mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-21 11:09:50 +00:00
add List.releaseExcessCapacity builtin
This commit is contained in:
parent
40b50b0091
commit
1319ba4844
13 changed files with 177 additions and 3 deletions
|
@ -1157,6 +1157,11 @@ fn lowlevel_spec<'a>(
|
|||
|
||||
list_clone(builder, block, update_mode_var, list)
|
||||
}
|
||||
ListReleaseExcessCapacity => {
|
||||
let list = env.symbols[&arguments[0]];
|
||||
|
||||
list_clone(builder, block, update_mode_var, list)
|
||||
}
|
||||
ListAppendUnsafe => {
|
||||
let list = env.symbols[&arguments[0]];
|
||||
let to_insert = env.symbols[&arguments[1]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue