remove EmptyStruct from wrapper

This commit is contained in:
Folkert 2021-06-21 21:16:21 +02:00
parent ab8e0c756d
commit 4bbaa007f3
3 changed files with 43 additions and 7 deletions

View file

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