summaryrefslogtreecommitdiff
path: root/test/files/neg/t2775.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-12-18 15:20:56 +0000
committerMartin Odersky <odersky@gmail.com>2009-12-18 15:20:56 +0000
commita41d9351d532d5f39a519b4a83740f3592c2a870 (patch)
tree711b6103331e3b5d211350a551413714abaa33d4 /test/files/neg/t2775.check
parentce4572ca49c2ba0db6b02ffffdece66c4cd3b5e8 (diff)
downloadscala-a41d9351d532d5f39a519b4a83740f3592c2a870.tar.gz
scala-a41d9351d532d5f39a519b4a83740f3592c2a870.tar.bz2
scala-a41d9351d532d5f39a519b4a83740f3592c2a870.zip
added test case for #2775 and commented the han...
added test case for #2775 and commented the handling code in Implicits better. Gilles already had a look so noreview.
Diffstat (limited to 'test/files/neg/t2775.check')
-rw-r--r--test/files/neg/t2775.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t2775.check b/test/files/neg/t2775.check
new file mode 100644
index 0000000000..a30d35fdd9
--- /dev/null
+++ b/test/files/neg/t2775.check
@@ -0,0 +1,4 @@
+t2775.scala:1: error: cannot find class manifest for element type B.this.T
+trait B[S] { type T = S; val c = new Array[T](1) }
+ ^
+one error found