Open
Description
for a value class
case class tst(a: Int) extends AnyVal
from decompiler i get:
public final boolean equals$extension(int $this, Object x$1) {
int n;
Object object = x$1;
boolean bl = object instanceof tst;
return bl && $this == (n = ((tst)x$1).u())
}
public final boolean canEqual$extension(int $this, Object x$1) {
return x$1 instanceof java.lang.Integer;
}
The second is wrong.