mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +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
|
@ -1291,7 +1291,12 @@ pub(crate) fn build_exp_expr<'a, 'ctx>(
|
|||
let (value, layout) = scope.load_symbol_and_layout(structure);
|
||||
let struct_val = RocStruct::from(value);
|
||||
|
||||
struct_val.load_at_index(env, layout_interner, layout, *index)
|
||||
struct_val.load_at_index(
|
||||
env,
|
||||
layout_interner,
|
||||
layout_interner.get_repr(layout),
|
||||
*index,
|
||||
)
|
||||
}
|
||||
|
||||
EmptyArray => empty_polymorphic_list(env),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue