mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Convert LayoutRepr::Struct into a tuple variant
This commit is contained in:
parent
a6bda6eccf
commit
a67c148be7
24 changed files with 85 additions and 128 deletions
|
@ -336,7 +336,7 @@ fn specialize_drops_stmt<'a, 'i>(
|
|||
|
||||
let new_dec = match runtime_layout.repr {
|
||||
// Layout has children, try to inline them.
|
||||
LayoutRepr::Struct { field_layouts, .. } => specialize_struct(
|
||||
LayoutRepr::Struct(field_layouts) => specialize_struct(
|
||||
arena,
|
||||
layout_interner,
|
||||
ident_ids,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue