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
TraversableView.isEmpty is wrong #6628
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6628?orig=1 |
Sam Bock (nvt) said (edited on Nov 10, 2012 5:46:55 PM UTC): The simplest solution might be to override isEmpty for the transformed views that cannot simply forward to the underlying collections, which is (I believe) all of them except for Mapped. Barring a better suggestion, these could be overridden to return to their old, foreach based behavior. |
@retronym said: |
@retronym said: |
@paulp said: |
@retronym said: |
@paulp said: |
@paulp said: |
dropped.force.isEmpty
anddropped.isEmpty
do not return the same result.The text was updated successfully, but these errors were encountered: