Skip to content

scala 2.12.4: ParSeq broken in REPL? #10620

@borice

Description

@borice

In REPL:

Welcome to Scala 2.12.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_151).
Type in expressions for evaluation. Or try :help.

scala> List("Smith","Jones","Frankenstein","Bach","Jackson","Rodin").par.map(_.toUpperCase)
... waits forever - no result ...

Same machine, now using Scala 2.11.7:

Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_151).
Type in expressions to have them evaluated.
Type :help for more information.

scala> List("Smith","Jones","Frankenstein","Bach","Jackson","Rodin").par.map(_.toUpperCase)
res0: scala.collection.parallel.immutable.ParSeq[String] = ParVector(SMITH, JONES, FRANKENSTEIN, BACH, JACKSON, RODIN)

What's going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions