mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
WIP
This commit is contained in:
parent
165c5d8363
commit
845e30658e
4 changed files with 176 additions and 48 deletions
|
@ -897,6 +897,10 @@ fn store_pattern2<'a>(
|
|||
|
||||
let mut arg_layouts = Vec::with_capacity_in(arguments.len(), env.arena);
|
||||
|
||||
if is_unwrapped != 0 {
|
||||
arg_layouts.push(Layout::Builtin(Builtin::Byte(MutMap::default())));
|
||||
}
|
||||
|
||||
for (_, layout) in arguments {
|
||||
arg_layouts.push(layout.clone());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue