summaryrefslogblamecommitdiff
path: root/test/files/neg/t9231.scala
blob: 05b1d24e9a63403ab782bf5e8bbea39281aed602 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                     
class M[A]
class C {
  implicit def M1: M[Int] = null
  implicit def M2: M[String] = null

  def foo[A](implicit M: M[A]) = null

  foo[DoesNotExist]
}