diff options
author | Paul Phillips <paulp@improving.org> | 2011-03-08 15:40:53 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-03-08 15:40:53 +0000 |
commit | 783721e98a4f61fc0c72298811b15e99c058d5e6 (patch) | |
tree | cdc0786526c572cfb9198942d517fbfd36ed0ba5 /src/library/scala/collection/immutable/StreamViewLike.scala | |
parent | 8328a880b60ded33d5d49b88bdc75020b577eb27 (diff) | |
download | scala-783721e98a4f61fc0c72298811b15e99c058d5e6.tar.gz scala-783721e98a4f61fc0c72298811b15e99c058d5e6.tar.bz2 scala-783721e98a4f61fc0c72298811b15e99c058d5e6.zip |
An overhaul of slice and related implementation...
An overhaul of slice and related implementations (primarily that is
drop and take.) In the course of trying to get it working consistently
(mostly with respect to negative indices, which were dealt with
arbitrarily differently across the 25+ concrete implementations) I fixed
various bugs.
Closes #4288, no review.
Diffstat (limited to 'src/library/scala/collection/immutable/StreamViewLike.scala')
-rw-r--r-- | src/library/scala/collection/immutable/StreamViewLike.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/immutable/StreamViewLike.scala b/src/library/scala/collection/immutable/StreamViewLike.scala index a3da3fd1b6..7995507943 100644 --- a/src/library/scala/collection/immutable/StreamViewLike.scala +++ b/src/library/scala/collection/immutable/StreamViewLike.scala @@ -67,6 +67,7 @@ extends SeqView[A, Coll] } protected override def newPrepended[B >: A](elem: B): Transformed[B] = new Prepended[B] { protected[this] val fst = elem } + override def stringPrefix = "StreamView" } |