Skip to content

Commit 2261452

Browse files
committed
Merge pull request scala#791 from axel22/issue/5336
Fix SI-5336.
2 parents ebd1955 + c4e059e commit 2261452

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/library/scala/collection/parallel/immutable/ParIterable.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ extends collection/*.immutable*/.GenIterable[T]
3434
with collection.parallel.ParIterable[T]
3535
with GenericParTemplate[T, ParIterable]
3636
with ParIterableLike[T, ParIterable[T], collection.immutable.Iterable[T]]
37+
with Immutable
3738
{
3839
override def companion: GenericCompanion[ParIterable] with GenericParCompanion[ParIterable] = ParIterable
3940

src/library/scala/collection/parallel/mutable/ParIterable.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ import scala.collection.GenIterable
2929
trait ParIterable[T] extends collection/*.mutable*/.GenIterable[T]
3030
with collection.parallel.ParIterable[T]
3131
with GenericParTemplate[T, ParIterable]
32-
with ParIterableLike[T, ParIterable[T], Iterable[T]] {
32+
with ParIterableLike[T, ParIterable[T], Iterable[T]]
33+
with Mutable {
3334
override def companion: GenericCompanion[ParIterable] with GenericParCompanion[ParIterable] = ParIterable
3435
//protected[this] override def newBuilder = ParIterable.newBuilder[T]
3536

0 commit comments

Comments
 (0)