This commit is contained in:
Folkert 2020-03-18 02:20:21 +01:00
parent 165c5d8363
commit 845e30658e
4 changed files with 176 additions and 48 deletions

View file

@ -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());
}