aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i739.scala
blob: 5385fa42cced9283dba5f9cd7d182efd284d0463 (plain) (blame)
1
2
3
4
5
6
7
class Foo[A, B]
class Test {
  implicit val f: Foo[Int, String] = ???
  def t[A, B >: A](a: A)(implicit f: Foo[A, B]) = ???
  t(1) // error
}