mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
cleanup
This commit is contained in:
parent
8db74298a2
commit
815b942f29
3 changed files with 4 additions and 26 deletions
|
@ -987,6 +987,8 @@ fn path_to_expr_help<'a>(
|
|||
other => vec![other.clone()],
|
||||
};
|
||||
|
||||
debug_assert!(*index < field_layouts.len() as u64);
|
||||
|
||||
let inner_layout = match &field_layouts[*index as usize] {
|
||||
Layout::RecursivePointer => layout.clone(),
|
||||
other => other.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue