summaryrefslogtreecommitdiff
path: root/test/files/pos/spec-constr-new.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/spec-constr-new.scala')
-rw-r--r--test/files/pos/spec-constr-new.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/spec-constr-new.scala b/test/files/pos/spec-constr-new.scala
index a117e99fef..7beff91d8d 100644
--- a/test/files/pos/spec-constr-new.scala
+++ b/test/files/pos/spec-constr-new.scala
@@ -1,6 +1,6 @@
-import scala.reflect.{ArrayTag, arrayTag}
+import scala.reflect.{ClassTag, classTag}
-class SparseArray2[@specialized(Int) T:ArrayTag](val maxSize: Int, initialLength:Int = 3) {
+class SparseArray2[@specialized(Int) T:ClassTag](val maxSize: Int, initialLength:Int = 3) {
private var data = new Array[T](initialLength);
private var index = new Array[Int](initialLength);