load_roc_value by layoutrepr

This commit is contained in:
Ayaz Hafiz 2023-06-16 21:44:23 -05:00
parent 07f40baf62
commit 390e9f8648
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
9 changed files with 95 additions and 36 deletions

View file

@ -155,7 +155,7 @@ fn index_struct_ptr<'a, 'ctx>(
load_roc_value(
env,
layout_interner,
field_layout,
layout_interner.get_repr(field_layout),
field_value,
"struct_field",
)