diff options
author | Martin Odersky <odersky@gmail.com> | 2008-12-09 17:40:50 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-12-09 17:40:50 +0000 |
commit | f83d8977544ec7fc3eed59e032e3705f30290c00 (patch) | |
tree | 2109641f8f4d84630726637ed480e0512c99e1d5 /src/library/scalax/collection/generic/covartest/SequenceView.scala | |
parent | 4d32e17513cf46b786eef8523653ac366c73a09c (diff) | |
download | scala-f83d8977544ec7fc3eed59e032e3705f30290c00.tar.gz scala-f83d8977544ec7fc3eed59e032e3705f30290c00.tar.bz2 scala-f83d8977544ec7fc3eed59e032e3705f30290c00.zip |
updates to scalax collections and standard libr...
updates to scalax collections and standard library classes.
Diffstat (limited to 'src/library/scalax/collection/generic/covartest/SequenceView.scala')
-rwxr-xr-x | src/library/scalax/collection/generic/covartest/SequenceView.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scalax/collection/generic/covartest/SequenceView.scala b/src/library/scalax/collection/generic/covartest/SequenceView.scala index 48477cf6e7..09d5c0efa1 100755 --- a/src/library/scalax/collection/generic/covartest/SequenceView.scala +++ b/src/library/scalax/collection/generic/covartest/SequenceView.scala @@ -69,7 +69,7 @@ self => class Patched[+B >: A](from: Int, patch: Sequence[B], replaced: Int) extends Transformed[B] { val plen = patch.length - override def elements: Iterator[B] = self.elements patch (from, patch.asInstanceOf[Null], replaced) // !!! + override def elements: Iterator[B] = self.elements patch (from, patch, replaced) override def length: Int = self.length + plen - replaced override def apply(idx: Int): B = if (idx < from) self.apply(idx) @@ -101,7 +101,7 @@ self => override def zip[B](that: Iterable[B]): SequenceView[UC, (A, B)] = new Zipped(that.toSequence).asCC override def zipWithIndex: SequenceView[UC, (A, Int)] = - zip((0 until length).asInstanceOf[Null]) // !!! + zip((0 until length).asInstanceOf[Null]) // !@! /* override def zipAll[B, A1 >: A, B1 >: B](that: Iterable[B], thisElem: A1, thatElem: B1): SequenceView[UC, (A1, B1)] = { val that1 = that.toSequence |