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

@ -885,10 +885,6 @@ fn expr_spec(
let value_id = env.symbols[structure];
match wrapped {
Wrapped::SingleElementRecord => {
// builder.add_get_tuple_field(block, value_id, *index as u32)
Ok(env.symbols[structure])
}
Wrapped::RecordOrSingleTagUnion => {
builder.add_get_tuple_field(block, value_id, *index as u32)
}