mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
create NullableUnion in some cases
This commit is contained in:
parent
b47ccb20fd
commit
51cad15399
3 changed files with 41 additions and 2 deletions
|
@ -827,6 +827,7 @@ impl Wrapped {
|
|||
},
|
||||
_ => Some(Wrapped::MultiTagUnion),
|
||||
},
|
||||
Layout::NullableUnion { .. } => Some(Wrapped::MultiTagUnion),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue