mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
multi tag union is obsolete
This commit is contained in:
parent
cc93da006d
commit
8a36c20559
1 changed files with 4 additions and 3 deletions
|
@ -1062,13 +1062,14 @@ impl Wrapped {
|
|||
1 => Some(Wrapped::SingleElementRecord),
|
||||
_ => Some(Wrapped::RecordOrSingleTagUnion),
|
||||
},
|
||||
_ => Some(Wrapped::MultiTagUnion),
|
||||
_ => {
|
||||
unreachable!()
|
||||
}
|
||||
},
|
||||
NonNullableUnwrapped(_) => Some(Wrapped::LikeARoseTree),
|
||||
|
||||
NullableWrapped { .. } | NullableUnwrapped { .. } => {
|
||||
todo!();
|
||||
Some(Wrapped::MultiTagUnion)
|
||||
unreachable!();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue