diff options
Diffstat (limited to 'src/library/scala/collection/generic/Growable.scala')
-rw-r--r-- | src/library/scala/collection/generic/Growable.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/generic/Growable.scala b/src/library/scala/collection/generic/Growable.scala index cb18be5deb..f0a70c2b88 100644 --- a/src/library/scala/collection/generic/Growable.scala +++ b/src/library/scala/collection/generic/Growable.scala @@ -45,7 +45,7 @@ trait Growable[-A] { * @param iter the TraversableOnce producing the elements to $add. * @return the $coll itself. */ - def ++=(xs: TraversableOnce[A]): this.type = { xs foreach += ; this } + def ++=(xs: TraversableOnce[A]): this.type = { xs.seq foreach += ; this } /** Clears the $coll's contents. After this operation, the * $coll is empty. |