mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-13 15:26:24 +00:00
mono: generate Eq functions for Boxed layout
This commit is contained in:
parent
817ffba982
commit
7c7e450756
4 changed files with 65 additions and 11 deletions
|
@ -1671,7 +1671,8 @@ impl<'a> LowLevelCall<'a> {
|
|||
Layout::Builtin(Builtin::Dict(_, _) | Builtin::Set(_) | Builtin::List(_))
|
||||
| Layout::Struct { .. }
|
||||
| Layout::Union(_)
|
||||
| Layout::LambdaSet(_) => {
|
||||
| Layout::LambdaSet(_)
|
||||
| Layout::Boxed(_) => {
|
||||
// Don't want Zig calling convention here, we're calling internal Roc functions
|
||||
backend
|
||||
.storage
|
||||
|
@ -1689,8 +1690,6 @@ impl<'a> LowLevelCall<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
Layout::Boxed(_) => todo!(),
|
||||
|
||||
Layout::RecursivePointer => {
|
||||
internal_error!(
|
||||
"Tried to apply `==` to RecursivePointer values {:?}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue