summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1279a.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2007-08-22 13:51:56 +0000
committerMartin Odersky <odersky@gmail.com>2007-08-22 13:51:56 +0000
commit4976d17863e6b2a9bfc6c127ac7c54c5c375ac56 (patch)
treef561a520d235a7973ed7e478799e42d7304c99e0 /test/files/neg/bug1279a.check
parentcb77b69a4239cc6fb27f9cb3ff3d17ed5a699759 (diff)
downloadscala-4976d17863e6b2a9bfc6c127ac7c54c5c375ac56.tar.gz
scala-4976d17863e6b2a9bfc6c127ac7c54c5c375ac56.tar.bz2
scala-4976d17863e6b2a9bfc6c127ac7c54c5c375ac56.zip
NEW TEST BUG1279. FIXED CHECK FILE.
Diffstat (limited to 'test/files/neg/bug1279a.check')
-rw-r--r--test/files/neg/bug1279a.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/bug1279a.check b/test/files/neg/bug1279a.check
new file mode 100644
index 0000000000..48b84e0f46
--- /dev/null
+++ b/test/files/neg/bug1279a.check
@@ -0,0 +1,6 @@
+bug1279a.scala:34: error: no type parameters for method all4Impl: (M{type T <: U})Stream[M{type T <: U}] exist so that it can be applied to arguments (first.selfType)
+ --- because ---
+result type Stream[M{type T <: U}] is incompatible with expected type Stream[M{type T <: U}]
+ def all4Impl[U](first: M {type T <: U}): Stream[M {type T <: U}] = Stream.cons(first, all4Impl(first.next))
+ ^
+one error found