aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t6410.scala
blob: 0855ffecdb2ebfe1b4286c693d95880ab09addd9 (plain) (tree)
1
2
3
4
5
6
7
8
9


 




                                                                                                    
 
object Test extends dotty.runtime.LegacyApp {
  val x = collection.parallel.mutable.ParArray.range(1,10) groupBy { _ % 2 } mapValues { _.size }
  println(x)
  val y = collection.parallel.immutable.ParVector.range(1,10) groupBy { _ % 2 } mapValues { _.size }
  println(y)
}