scala-2.13

Why am I getting this error when running Scala 2.13 tests in IntelliJ, but not with Scala 2.12?

三世轮回 提交于 2019-11-30 17:44:00
I am getting the following error when I try to run tests in IntelliJ (2019.1), Scala IntelliJ plugin v2019.1.8, with Scala 2.13: Exception in thread "ScalaTest-dispatcher" java.lang.NoSuchMethodError: scala.collection.JavaConverters.seqAsJavaListConverter(Lscala/collection/Seq;)Lscala/collection/convert/Decorators$AsJava; at org.jetbrains.plugins.scala.testingSupport.scalaTest.treeBuilder.ParallelTreeBuilder.getOrdinalList(ParallelTreeBuilder.java:21) at org.jetbrains.plugins.scala.testingSupport.scalaTest.treeBuilder.ParallelTreeBuilder$SuiteTree.<init>(ParallelTreeBuilder.java:92) at org

Missing import scala.collection.parallel in Scala 2.13

自作多情 提交于 2019-11-28 03:10:52
问题 Parallel collections in Scala 2.12 were importable out-of-the-box like so import scala.collection.parallel.immutable.ParVector val pv = new ParVector[Int] however why in Scala 2.13 package scala.collection.parallel seems to be missing? 回答1: Parallel collections have been moved in Scala 2.13 to separate module scala/scala-parallel-collection This Scala standard module contains the package scala.collection.parallel, with all of the parallel collections that used to be part of the Scala standard