From f54e5c8bbdd719b5c9375c64c2f66b841984456e Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Sun, 22 Apr 2012 18:49:09 +0200 Subject: resurrects manifests in their pre-2.10 glory --- test/files/pos/spec-constr-old.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/pos/spec-constr-old.scala (limited to 'test/files/pos/spec-constr-old.scala') diff --git a/test/files/pos/spec-constr-old.scala b/test/files/pos/spec-constr-old.scala new file mode 100644 index 0000000000..e908b65a41 --- /dev/null +++ b/test/files/pos/spec-constr-old.scala @@ -0,0 +1,7 @@ +class SparseArray2[@specialized(Int) T:ClassManifest](val maxSize: Int, initialLength:Int = 3) { + private var data = new Array[T](initialLength); + private var index = new Array[Int](initialLength); + + // comment out to compile correctly + data.length + 3; +} -- cgit v1.2.3