mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Update Eq symbols
This commit is contained in:
parent
81fa0407b6
commit
6149c289fc
7 changed files with 40 additions and 34 deletions
|
@ -277,7 +277,7 @@ impl ObligationCache {
|
|||
Some(DeriveHash::is_derivable(self, abilities_store, subs, var))
|
||||
}
|
||||
|
||||
Symbol::EQ_EQ => Some(DeriveEq::is_derivable(self, abilities_store, subs, var)),
|
||||
Symbol::BOOL_EQ => Some(DeriveEq::is_derivable(self, abilities_store, subs, var)),
|
||||
|
||||
_ => None,
|
||||
};
|
||||
|
@ -1011,7 +1011,7 @@ impl DerivableVisitor for DeriveHash {
|
|||
|
||||
struct DeriveEq;
|
||||
impl DerivableVisitor for DeriveEq {
|
||||
const ABILITY: Symbol = Symbol::EQ_EQ;
|
||||
const ABILITY: Symbol = Symbol::BOOL_EQ;
|
||||
|
||||
#[inline(always)]
|
||||
fn is_derivable_builtin_opaque(symbol: Symbol) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue