jstuyts-squins
09/21/2017, 6:07 AMAny?, because the compiler cannot enforce a Value being passed to your own equals(...) method:
val x: Any = Value(1)
val y: Any = Value(2)
println(x == y) // Both are "Any" here, so the compiler does not know about "Value.equals(Value)"