blob: c355a10c54c530a1156d05ad14c080e2e0367f06 (
plain) (
tree)
|
|
package bug1
trait Element[T] {
}
trait Config {
type T <: Element[T]
// XXX Following works fine:
// type T <: Element[_]
}
trait Transform { self: Config =>
def processBlock(block: Array[T]): Unit = {
var X = new Array[T](1)
}
}
|