summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/Iterator.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/collection/Iterator.scala')
-rw-r--r--src/library/scala/collection/Iterator.scala3
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>.