mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
remove MultiTagUnion
This commit is contained in:
parent
8a36c20559
commit
65f4ff9663
4 changed files with 7 additions and 25 deletions
|
@ -392,7 +392,7 @@ impl<'a> LambdaSet<'a> {
|
|||
match self.representation {
|
||||
Layout::Struct(fields) if fields.len() == 1 => Wrapped::SingleElementRecord,
|
||||
Layout::Struct(_) => Wrapped::RecordOrSingleTagUnion,
|
||||
Layout::Union(_) => Wrapped::MultiTagUnion,
|
||||
Layout::Union(_) => unreachable!(),
|
||||
_ => Wrapped::SingleElementRecord,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue