summaryrefslogtreecommitdiff
path: root/test/files/pos/tcpoly_method.scala
blob: 294b53b915da68d5b7b5de48d9a0c4b4b8e0ad76 (plain) (blame)
1
2
3
4
5
6
trait Iterable[m[+x], +t] {
  def flatMap[resColl[+x] <: Iterable[resColl, x], s](f: t => resColl[s]): resColl[s]

  def foo[a[x]] = "a"
  val x = foo[List]
}