mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Remove insert_direct_no_semantic in compare eq
This commit is contained in:
parent
7ab044d79f
commit
6139918e3b
7 changed files with 89 additions and 118 deletions
|
@ -447,7 +447,12 @@ fn build_clone_struct<'a, 'ctx>(
|
|||
let structure = RocStruct::from(value);
|
||||
|
||||
for (i, field_layout) in field_layouts.iter().enumerate() {
|
||||
let field = structure.load_at_index(env, layout_interner, struct_layout, i as _);
|
||||
let field = structure.load_at_index(
|
||||
env,
|
||||
layout_interner,
|
||||
layout_interner.get_repr(struct_layout),
|
||||
i as _,
|
||||
);
|
||||
|
||||
let new_extra = build_clone(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue