mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
introduce PhantomEmptyStruct
This commit is contained in:
parent
3d092cb9b7
commit
2267a1174a
3 changed files with 7 additions and 1 deletions
|
@ -81,6 +81,8 @@ pub fn decrement_refcount_layout<'a, 'ctx, 'env>(
|
|||
)
|
||||
}
|
||||
}
|
||||
PhantomEmptyStruct => {}
|
||||
|
||||
Struct(layouts) => {
|
||||
decrement_refcount_struct(env, parent, layout_ids, value, layouts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue