mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Remove tag_name from ResetReuse
This commit is contained in:
parent
09c3c4030d
commit
2d169bf518
4 changed files with 10 additions and 27 deletions
|
@ -97,7 +97,7 @@ fn function_s<'a, 'i>(
|
|||
Expr::Tag {
|
||||
tag_layout,
|
||||
tag_id,
|
||||
tag_name,
|
||||
tag_name: _,
|
||||
arguments,
|
||||
} if may_reuse(*tag_layout, *tag_id, c) => {
|
||||
// for now, always overwrite the tag ID just to be sure
|
||||
|
@ -109,7 +109,6 @@ fn function_s<'a, 'i>(
|
|||
update_tag_id,
|
||||
tag_layout: *tag_layout,
|
||||
tag_id: *tag_id,
|
||||
tag_name: tag_name.clone(),
|
||||
arguments,
|
||||
};
|
||||
let new_stmt = Let(*symbol, new_expr, *layout, continuation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue