blob: f96be0b427fbc564481e811669b5255948f7f7fc (
plain) (
tree)
|
|
trait Foo {
type Repr <: String
def f2(x: Repr) = x.length
}
trait Fooz[Repr <: Array[_]] {
def f0(x: Repr) = x.length
}
trait Bar[Repr <: List[_]] extends Foo with Fooz[Array[Int]] {
def f1(x: Repr) = x.length
}
|