blob: b68c4b945152564d09e88c39c2967f8045c0bcaa (
plain) (
tree)
|
|
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
}
|