mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Fix broken ability implementation
This commit is contained in:
parent
2aac2e01f8
commit
30b8a1407d
11 changed files with 130 additions and 132 deletions
|
@ -1383,7 +1383,7 @@ impl DerivableVisitor for DeriveEq {
|
|||
#[inline(always)]
|
||||
fn visit_ranged_number(_var: Variable, _range: NumericRange) -> Result<(), NotDerivable> {
|
||||
// Ranged numbers are allowed, because they are always possibly ints - floats can not have
|
||||
// `isEq` derived, but if something were to be a float, we'd see it exactly as a float.
|
||||
// `is_eq` derived, but if something were to be a float, we'd see it exactly as a float.
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue