mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
cleanup
This commit is contained in:
parent
7a36c25848
commit
ee941c9f2e
2 changed files with 0 additions and 108 deletions
|
@ -1044,23 +1044,6 @@ fn path_to_expr_help<'a>(
|
|||
debug_assert_eq!(*tag_id, 0);
|
||||
debug_assert!(it.peek().is_none());
|
||||
|
||||
let field_layouts = vec![layout];
|
||||
|
||||
debug_assert!(*index < field_layouts.len() as u64);
|
||||
|
||||
debug_assert_eq!(field_layouts.len(), 1);
|
||||
|
||||
let inner_expr = Expr::AccessAtIndex {
|
||||
index: *index,
|
||||
field_layouts: env.arena.alloc(field_layouts),
|
||||
structure: symbol,
|
||||
wrapped: Wrapped::SingleElementRecord,
|
||||
};
|
||||
|
||||
// symbol = env.unique_symbol();
|
||||
// let inner_layout = layout;
|
||||
// stores.push((symbol, inner_layout, inner_expr));
|
||||
|
||||
break;
|
||||
}
|
||||
true => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue