mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +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
|
@ -165,7 +165,7 @@ fn build_eq<'a, 'ctx>(
|
|||
&builtin,
|
||||
),
|
||||
|
||||
LayoutRepr::Struct { field_layouts, .. } => build_struct_eq(
|
||||
LayoutRepr::Struct(field_layouts) => build_struct_eq(
|
||||
env,
|
||||
layout_interner,
|
||||
layout_ids,
|
||||
|
@ -353,7 +353,7 @@ fn build_neq<'a, 'ctx>(
|
|||
&builtin,
|
||||
),
|
||||
|
||||
LayoutRepr::Struct { field_layouts, .. } => {
|
||||
LayoutRepr::Struct(field_layouts) => {
|
||||
let is_equal = build_struct_eq(
|
||||
env,
|
||||
layout_interner,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue