Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`withFilter' method does not yet exist on scala.collection.parallel.immutable.ParSet #8968

Closed
scabug opened this issue Nov 8, 2014 · 4 comments

Comments

@scabug
Copy link

scabug commented Nov 8, 2014

Ack, so tired of this warning. Can backport that implementation to 2.10.x?

/*scala>*/ for (i <- List(1,2,3,4).par if i % 2 == 0) yield i 
//<console>:8: warning: `withFilter' method does not yet exist on scala.collection.parallel.immutable.ParSeq[Int], using `filter' method instead
//              for (i <- List(1,2,3,4).par if i % 2 == 0) yield i 
//                                      ^
//res0: scala.collection.parallel.immutable.ParSeq[Int] = ParVector(2, 4)
@scabug
Copy link
Author

scabug commented Nov 8, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8968?orig=1
Reporter: @refried
Affected Versions: 2.10.4

@som-snytt
Copy link

2.10.6 or Obi-wan was the last hope.

On 2.11, amongst the removals: scala/scala@aced32d

@SethTisue
Copy link
Member

note that testing this in the 2.12 or 2.13 REPL is likely to run afoul of scala/scala-dev#195

@som-snytt
Copy link

No fool I, -Yrepl-class-based.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants