mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Low-level to extract discriminant from a tag union
This commit is contained in:
parent
7421485973
commit
fd54cdfdd1
6 changed files with 41 additions and 4 deletions
|
@ -1856,7 +1856,7 @@ impl<'a> LowLevelCall<'a> {
|
|||
|
||||
Eq | NotEq => self.eq_or_neq(backend),
|
||||
|
||||
BoxExpr | UnboxExpr => {
|
||||
BoxExpr | UnboxExpr | TagDiscriminant => {
|
||||
unreachable!("The {:?} operation is turned into mono Expr", self.lowlevel)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue