remove single element record

This commit is contained in:
Folkert 2021-06-21 23:02:09 +02:00
parent 6744e009ac
commit 368d45fb01
5 changed files with 6 additions and 29 deletions

View file

@ -1423,18 +1423,6 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
Reset(_) => todo!(),
Reuse { .. } => todo!(),
AccessAtIndex {
index,
structure,
wrapped: Wrapped::SingleElementRecord,
field_layouts,
..
} => {
debug_assert_eq!(field_layouts.len(), 1);
debug_assert_eq!(*index, 0);
load_symbol(scope, structure)
}
AccessAtIndex {
index,
structure,