summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-03-22 18:22:25 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-03-22 18:22:25 +0000
commite579152f7329a314607d33c7e3761b769b93518d (patch)
treee1ff4d301bdf7bc11b30f047645698f6aa82f800 /test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
parent60d9a5127cf190c90e2e3ce4f79455469dac54eb (diff)
downloadscala-e579152f7329a314607d33c7e3761b769b93518d.tar.gz
scala-e579152f7329a314607d33c7e3761b769b93518d.tar.bz2
scala-e579152f7329a314607d33c7e3761b769b93518d.zip
Implementing foreach to work in parallel in Par...
Implementing foreach to work in parallel in ParIterableLike. Doing a bunch of refactoring around in the collection framework to ensure a parallel foreach is never called with a side-effecting method. This still leaves other parts of the standard library and the compiler unguarded. No review.
Diffstat (limited to 'test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala')
-rw-r--r--test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala b/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
index 6b30f61b57..53e56e9700 100644
--- a/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
+++ b/test/files/scalacheck/parallel-collections/ParallelMapCheck1.scala
@@ -15,7 +15,7 @@ import scala.collection.parallel._
abstract class ParallelMapCheck[K, V](collname: String) extends ParallelIterableCheck[(K, V)](collname) {
- type CollType <: ParMap[K, V] with Sequentializable[(K, V), Map[K, V]]
+ type CollType <: ParMap[K, V]
property("gets iterated keys") = forAll(collectionPairs) {
case (t, coll) =>