From d3744118959edcbb8fb061d106078864f83fb7b2 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 10 Jul 2008 14:59:55 +0000 Subject: fixed t0851 and t1101. --- test/files/neg/bug1279a.check | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/files/neg/bug1279a.check') diff --git a/test/files/neg/bug1279a.check b/test/files/neg/bug1279a.check index a2259f6cda..edfd1fe871 100644 --- a/test/files/neg/bug1279a.check +++ b/test/files/neg/bug1279a.check @@ -1,8 +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 --- -argument expression's type is not compatible with formal parameter type; +bug1279a.scala:34: error: type mismatch; found : first.selfType required: M{type T <: this.T} def all4Impl[U](first: M {type T <: U}): Stream[M {type T <: U}] = Stream.cons(first, all4Impl(first.next)) - ^ + ^ one error found -- cgit v1.2.3