diff --git a/core/src/main/scala/cats/syntax/eq.scala b/core/src/main/scala/cats/syntax/eq.scala index f6fa3fde5b..6526e12d92 100644 --- a/core/src/main/scala/cats/syntax/eq.scala +++ b/core/src/main/scala/cats/syntax/eq.scala @@ -31,7 +31,7 @@ trait EqSyntax { new EqOps[A](a) } -final class EqOps[A: Eq](lhs: A) { +final class EqOps[A: Eq](val lhs: A) extends AnyVal { def ===(rhs: A): Boolean = Eq[A].eqv(lhs, rhs) def =!=(rhs: A): Boolean = Eq[A].neqv(lhs, rhs) def eqv(rhs: A): Boolean = Eq[A].eqv(lhs, rhs)