mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
cleanup
This commit is contained in:
parent
e274976c6a
commit
7f51bf77aa
1 changed files with 6 additions and 13 deletions
|
@ -5726,19 +5726,12 @@ fn store_tag_pattern<'a>(
|
|||
arg_layout = Layout::Union(union_layout);
|
||||
}
|
||||
|
||||
let load = Expr::CoerceToTagId {
|
||||
index: index as u64,
|
||||
structure,
|
||||
tag_id,
|
||||
union_layout,
|
||||
};
|
||||
|
||||
// let load = Expr::AccessAtIndex {
|
||||
// wrapped,
|
||||
// index: index as u64,
|
||||
// field_layouts: arg_layouts.clone().into_bump_slice(),
|
||||
// structure,
|
||||
// };
|
||||
let load = Expr::CoerceToTagId {
|
||||
index: index as u64,
|
||||
structure,
|
||||
tag_id,
|
||||
union_layout,
|
||||
};
|
||||
|
||||
match argument {
|
||||
Identifier(symbol) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue