diff options
Diffstat (limited to 'test/files/pos/spec-List.scala')
-rw-r--r-- | test/files/pos/spec-List.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/spec-List.scala b/test/files/pos/spec-List.scala index 04ab7d1543..e3055f3051 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: GenTraversableOnce[B])(implicit bf: CanBuildFrom[List[A], B, That]): That = { + override def ++[B >: A, That](xs: TraversableOnce[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) |