785f4fe224 ^
62cdd7ff90 ^
1
2
3
4 5 6 7 8 9 10
object Foo { def eq(x: Int) = x } class X { def ==(other: String) = other.nonEmpty } object Test { def main(args: Array[String]): Unit = { Foo eq 1 new X == null } }