mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Use Eq.structuralEq for deriving
This commit is contained in:
parent
3674f6861e
commit
4adae7651f
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ impl Derived {
|
|||
DeriveBuiltin::IsEq => {
|
||||
// If obligation checking passes, we always lower derived implementations of `isEq`
|
||||
// to the `Eq` low-level, to be fulfilled by the backends.
|
||||
Ok(Derived::SingleLambdaSetImmediate(Symbol::BOOL_EQ))
|
||||
Ok(Derived::SingleLambdaSetImmediate(Symbol::EQ_STRUCTURAL_EQ))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue