diff options
author | Paul Phillips <paulp@improving.org> | 2009-10-26 17:00:19 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-10-26 17:00:19 +0000 |
commit | 926ca95a9c21d45df6706384fe25c41408fb45f6 (patch) | |
tree | 4874fa6ac7f418b49c335d439a7d112b6a10ea27 /src | |
parent | ee02ad59ce2c42758712a1385f33ce962ae4107c (diff) | |
download | scala-926ca95a9c21d45df6706384fe25c41408fb45f6.tar.gz scala-926ca95a9c21d45df6706384fe25c41408fb45f6.tar.bz2 scala-926ca95a9c21d45df6706384fe25c41408fb45f6.zip |
Fix for #2529.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/Iterator.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/scala/collection/Iterator.scala b/src/library/scala/collection/Iterator.scala index 1e5d0c0a89..3ceda86299 100644 --- a/src/library/scala/collection/Iterator.scala +++ b/src/library/scala/collection/Iterator.scala @@ -369,8 +369,9 @@ trait Iterator[+A] { self => } /** !!! Temporary, awaiting more general implementation. + * ... better wait longer, this fails once flatMap gets in the mix. */ - def withFilter(p: A => Boolean) = this.toStream withFilter p + // def withFilter(p: A => Boolean) = this.toStream withFilter p /** Returns an iterator over all the elements of this iterator which * do not satisfy the predicate <code>p</code>. |