mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
remove Reuse
This commit is contained in:
parent
1daf975391
commit
f27cb83a02
11 changed files with 33 additions and 125 deletions
|
@ -1064,26 +1064,6 @@ pub(crate) fn build_exp_expr<'a, 'ctx>(
|
|||
)
|
||||
.into(),
|
||||
|
||||
Reuse {
|
||||
arguments,
|
||||
tag_layout: union_layout,
|
||||
tag_id,
|
||||
symbol,
|
||||
..
|
||||
} => {
|
||||
let reset = scope.load_symbol(symbol).into_pointer_value();
|
||||
build_tag(
|
||||
env,
|
||||
layout_interner,
|
||||
scope,
|
||||
union_layout,
|
||||
*tag_id,
|
||||
arguments,
|
||||
Some(reset),
|
||||
parent,
|
||||
)
|
||||
}
|
||||
|
||||
Tag {
|
||||
arguments,
|
||||
tag_layout: union_layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue