mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
c to the l to the i p p y
This commit is contained in:
parent
6cd8afd5d6
commit
455fabbe88
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ fn from_can<'a>(
|
|||
|
||||
match Layout::from_var(arena, record_var, env.subs, env.pointer_size) {
|
||||
Ok(Layout::Struct(field_layouts)) => {
|
||||
for (label, field_layout) in field_layouts.into_iter() {
|
||||
for (label, field_layout) in field_layouts.iter() {
|
||||
let loc_expr = fields.remove(label).unwrap().loc_expr;
|
||||
let expr = from_can(env, loc_expr.value, procs, None);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue