From e239d7fa5b9de5edffb06022c4cc5a9c105a51d3 Mon Sep 17 00:00:00 2001 From: Antonio Cunei Date: Wed, 26 May 2010 14:14:12 +0000 Subject: svnmerge + tags --- test/files/pos/spec-constr.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/pos/spec-constr.scala (limited to 'test/files/pos/spec-constr.scala') diff --git a/test/files/pos/spec-constr.scala b/test/files/pos/spec-constr.scala new file mode 100644 index 0000000000..e908b65a41 --- /dev/null +++ b/test/files/pos/spec-constr.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