mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
make sure that union refcounting branches to the decrement block
This commit is contained in:
parent
ce6e0bec9f
commit
a2fcf76164
1 changed files with 2 additions and 0 deletions
|
@ -1309,6 +1309,8 @@ fn build_rec_union_recursive_decrement<'a, 'ctx>(
|
|||
// this function returns void
|
||||
builder.new_build_return(None);
|
||||
|
||||
cases.push((tag_id_int_type.const_int(tag_id as u64, false), block));
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue