diff options
Diffstat (limited to 'tests/untried/pos/t2795-new.scala')
-rw-r--r-- | tests/untried/pos/t2795-new.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/untried/pos/t2795-new.scala b/tests/untried/pos/t2795-new.scala deleted file mode 100644 index e307133e0..000000000 --- a/tests/untried/pos/t2795-new.scala +++ /dev/null @@ -1,19 +0,0 @@ -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) - } -} |