mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-15 16:25:05 +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
|
@ -337,8 +337,12 @@ fn modify_refcount_struct_help<'a, 'ctx>(
|
|||
|
||||
for (i, field_layout) in field_layouts.iter().enumerate() {
|
||||
if layout_interner.contains_refcounted(*field_layout) {
|
||||
let field_value =
|
||||
wrapper_struct.load_at_index(env, layout_interner, struct_layout, i as _);
|
||||
let field_value = wrapper_struct.load_at_index(
|
||||
env,
|
||||
layout_interner,
|
||||
layout_interner.get_repr(struct_layout),
|
||||
i as _,
|
||||
);
|
||||
|
||||
modify_refcount_layout_help(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue