mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Hide away SemanticRepr definition
This commit is contained in:
parent
a37a0f1770
commit
31c9cc8227
5 changed files with 39 additions and 30 deletions
|
@ -9821,7 +9821,7 @@ where
|
|||
let interned_unboxed_struct_layout = layout_interner.insert(*unboxed_struct_layout);
|
||||
let boxed_struct_layout = Layout {
|
||||
repr: LayoutRepr::Boxed(interned_unboxed_struct_layout),
|
||||
semantic: SemanticRepr::None,
|
||||
semantic: SemanticRepr::NONE,
|
||||
};
|
||||
let boxed_struct_layout = layout_interner.insert(boxed_struct_layout);
|
||||
let mut answer = bumpalo::collections::Vec::with_capacity_in(field_layouts.len(), arena);
|
||||
|
@ -9935,7 +9935,7 @@ where
|
|||
let interned = layout_interner.insert(*unboxed_struct_layout);
|
||||
let boxed_struct_layout = Layout {
|
||||
repr: LayoutRepr::Boxed(interned),
|
||||
semantic: SemanticRepr::None,
|
||||
semantic: SemanticRepr::NONE,
|
||||
};
|
||||
let boxed_struct_layout = layout_interner.insert(boxed_struct_layout);
|
||||
let mut answer = bumpalo::collections::Vec::with_capacity_in(field_layouts.len(), arena);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue