aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/partialApplications.scala
blob: b68c4b945152564d09e88c39c2967f8045c0bcaa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                 
object Test {

  type Histogram = Map[_, Int]

  type StringlyHistogram = Histogram[_ >: String]

  val xs: Histogram[String] = Map[String, Int]()

  val ys: StringlyHistogram[String] = xs

  val zs: StringlyHistogram = xs

}