mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
make list literal return bag and cell
This commit is contained in:
parent
0e6e9847fc
commit
9b9394b413
1 changed files with 3 additions and 1 deletions
|
@ -799,7 +799,9 @@ fn expr_spec(
|
|||
bag = builder.add_bag_insert(block, bag, value_id)?;
|
||||
}
|
||||
|
||||
Ok(bag)
|
||||
let cell = builder.add_new_heap_cell(block)?;
|
||||
|
||||
builder.add_make_tuple(block, &[cell, bag])
|
||||
}
|
||||
|
||||
EmptyArray => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue