summaryrefslogtreecommitdiff
path: root/test/files/run/t0677-new.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t0677-new.scala')
-rw-r--r--test/files/run/t0677-new.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t0677-new.scala b/test/files/run/t0677-new.scala
index 85332401b7..15c8b4aa19 100644
--- a/test/files/run/t0677-new.scala
+++ b/test/files/run/t0677-new.scala
@@ -1,7 +1,7 @@
-import scala.reflect.{ArrayTag, arrayTag}
+import scala.reflect.{ClassTag, classTag}
object Test extends App {
- class X[T: ArrayTag] {
+ class X[T: ClassTag] {
val a = Array.ofDim[T](3, 4)
}
val x = new X[String]