mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Use undefined more!
This commit is contained in:
parent
c47c7f3d96
commit
951f81d24f
1 changed files with 3 additions and 12 deletions
|
@ -215,18 +215,9 @@ test "str_split_in_place_: three pieces" {
|
|||
|
||||
const arrayLen : usize = 3;
|
||||
var array: [arrayLen]RocStr = [_]RocStr{
|
||||
RocStr{
|
||||
.strBytesPtrs = delimiterPtr,
|
||||
.strLen = 1,
|
||||
},
|
||||
RocStr{
|
||||
.strBytesPtrs = delimiterPtr,
|
||||
.strLen = 1,
|
||||
},
|
||||
RocStr{
|
||||
.strBytesPtrs = delimiterPtr,
|
||||
.strLen = 1,
|
||||
}
|
||||
undefined ,
|
||||
undefined,
|
||||
undefined,
|
||||
};
|
||||
const array_ptr: [*]RocStr = &array;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue