-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use parallel-collections in 2.13 scala native
Was previously impossible, as parallel-collections library was not yet released for scala native as of making the scala native PR.
- Loading branch information
Showing
7 changed files
with
13 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
scalafmt-sysops/jvm/src/main/scala-2.12/org/scalafmt/CompatCollections.scala
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
scalafmt-sysops/jvm/src/main/scala-2.13/org/scalafmt/CompatCollections.scala
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
scalafmt-sysops/native/src/main/scala-2.12/org/scalafmt/CompatCollections.scala
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
scalafmt-sysops/native/src/main/scala-2.13/org/scalafmt/CompatCollections.scala
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
scalafmt-sysops/shared/src/main/scala-2.12/org/scalafmt/CompatCollections.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.scalafmt | ||
|
||
private[scalafmt] object CompatCollections { | ||
val JavaConverters = scala.collection.JavaConverters | ||
object ParConverters | ||
} |
6 changes: 6 additions & 0 deletions
6
scalafmt-sysops/shared/src/main/scala-2.13/org/scalafmt/CompatCollections.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.scalafmt | ||
|
||
private[scalafmt] object CompatCollections { | ||
val JavaConverters = scala.jdk.CollectionConverters | ||
val ParConverters = scala.collection.parallel.CollectionConverters | ||
} |