mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
remove single element record
This commit is contained in:
parent
6744e009ac
commit
368d45fb01
5 changed files with 6 additions and 29 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue