diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/pc-conversions.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/pc-conversions.scala b/test/files/run/pc-conversions.scala index 64e0720572..8f6a7744d9 100644 --- a/test/files/run/pc-conversions.scala +++ b/test/files/run/pc-conversions.scala @@ -53,9 +53,9 @@ object Test { def assertSeq[T](pc: parallel.ParIterable[T]) = assert(pc.seq == pc) - def assertPar[T, P <: Parallel](xs: AnyIterable[T]) = assert(xs == xs.par) + def assertPar[T, P <: Parallel](xs: GenIterable[T]) = assert(xs == xs.par) - def assertToPar[K, V](xs: AnyTraversable[(K, V)]) { + def assertToPar[K, V](xs: GenTraversable[(K, V)]) { xs match { case _: Seq[_] => assert(xs.toIterable.par == xs) @@ -73,7 +73,7 @@ object Test { assert(xs.par.toMap == xs.toMap) } - def assertToParWoMap[T](xs: AnySeq[T]) { + def assertToParWoMap[T](xs: GenSeq[T]) { assert(xs.toIterable.par == xs.toIterable) assert(xs.par.toIterable == xs.toIterable) |