List.keepIf must consume its list argument

This commit is contained in:
Folkert 2021-01-02 23:17:50 +01:00
parent 2ac19fb6e3
commit 981a84ccee
2 changed files with 14 additions and 1 deletions

View file

@ -2731,7 +2731,16 @@ fn run_low_level<'a, 'ctx, 'env>(
let inplace = get_inplace_from_layout(layout);
list_keep_if(env, inplace, parent, func, func_layout, list, list_layout)
list_keep_if(
env,
layout_ids,
inplace,
parent,
func,
func_layout,
list,
list_layout,
)
}
ListContains => {
// List.contains : List elem, elem -> Bool