summaryrefslogtreecommitdiff
path: root/test/files/pos/t8120.scala
blob: e06f38d5db1131c332183a98bc5afac33f506e2e (plain) (blame)
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)
}