summaryrefslogtreecommitdiff
path: root/test/files/run/t4459.scala
blob: 6e1b871cbeb0334069219530e3c45ae87b6a4036 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import collection._

object Test {
  def main(args: Array[String]) {
    for (i <- 0 until 2000) {
      foo((0 until 10000).toSeq.par)
    }
  }

  def foo(arg: GenSeq[_]): String = arg.map(x => x).mkString(",")
}