1 2 3 4 5 6 7 8 9
object A { class C { def m(a: Nothing): Int = 0 } implicit class RichAny(a: Any) { def m(a: Any): Int = 0 } (new C).m({ case (x, y) => x } : Any => Any) }