blob: a6a5fdb1273ad12f41661eab4f78bf8f83350b82 (
plain) (
tree)
|
|
package t1
import scala.reflect.{ClassTag, classTag}
trait Element[T] {
}
trait Config {
type T <: Element[T]
implicit val m: ClassTag[T]
// XXX Following works fine:
// type T <: Element[_]
}
trait Transform { self: Config =>
def processBlock(block: Array[T]): Unit = {
var X = new Array[T](1)
}
}
|