use_roc_value by layoutrepr

This commit is contained in:
Ayaz Hafiz 2023-06-16 21:41:41 -05:00
parent 5979405b79
commit 07f40baf62
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 6 additions and 6 deletions

View file

@ -127,7 +127,7 @@ fn index_struct_value<'a, 'ctx>(
use_roc_value(
env,
layout_interner,
field_layout,
layout_interner.get_repr(field_layout),
field_value,
"struct_field",
)