mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
unique and std work, check if delimiter is longer than str
This commit is contained in:
parent
5fe6eefa97
commit
43960cf1c6
6 changed files with 108 additions and 3 deletions
|
@ -1968,7 +1968,9 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
// Str.split : Str, Str -> List Str
|
||||
debug_assert_eq!(args.len(), 2);
|
||||
|
||||
str_split(env, scope, parent, args[0], args[1])
|
||||
let inplace = get_inplace_from_layout(layout);
|
||||
|
||||
str_split(env, scope, parent, inplace, args[0], args[1])
|
||||
}
|
||||
StrIsEmpty => {
|
||||
// Str.isEmpty : Str -> Str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue