mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
make after work
This commit is contained in:
parent
f3ed367d97
commit
7e6724262d
7 changed files with 449 additions and 135 deletions
|
@ -1134,9 +1134,10 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
|
|||
env.arena.alloc(format!("closure_field_access_{}_", index)),
|
||||
)
|
||||
.unwrap(),
|
||||
(other, layout) => {
|
||||
unreachable!("can only index into struct layout {:?} {:?}", other, layout)
|
||||
}
|
||||
(other, layout) => unreachable!(
|
||||
"can only index into struct layout\nValue: {:?}\nLayout: {:?}\nIndex: {:?}",
|
||||
other, layout, index
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue