From 9334ad0db28f62c3e1d33d6b12e03720a76fb1eb Mon Sep 17 00:00:00 2001 From: Aleksandar Pokopec Date: Wed, 13 Apr 2011 16:32:01 +0000 Subject: Fixed some tests, renamed from Any to Gen. No review. --- test/files/pos/spec-List.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/pos/spec-List.scala') diff --git a/test/files/pos/spec-List.scala b/test/files/pos/spec-List.scala index 6a39632451..04ab7d1543 100644 --- a/test/files/pos/spec-List.scala +++ b/test/files/pos/spec-List.scala @@ -144,7 +144,7 @@ sealed trait List[@specialized +A] extends LinearSeq[A] /** Create a new list which contains all elements of this list * followed by all elements of Traversable `that' */ - override def ++[B >: A, That](xs: AnyTraversableOnce[B])(implicit bf: CanBuildFrom[List[A], B, That]): That = { + override def ++[B >: A, That](xs: GenTraversableOnce[B])(implicit bf: CanBuildFrom[List[A], B, That]): That = { val b = bf(this) if (b.isInstanceOf[ListBuffer[_]]) (this ::: xs.toList).asInstanceOf[That] else super.++(xs) -- cgit v1.2.3