diff options
author | Martin Odersky <odersky@gmail.com> | 2010-05-25 15:54:10 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-05-25 15:54:10 +0000 |
commit | 885f76fd054d5e71202112bae75c313bbad269ab (patch) | |
tree | fe716c2d94ce7b54808c235668a3618b7e221296 /src/library/scala/collection/generic | |
parent | 56313be050dca71a28f7696853dad13d4db90e6c (diff) | |
download | scala-885f76fd054d5e71202112bae75c313bbad269ab.tar.gz scala-885f76fd054d5e71202112bae75c313bbad269ab.tar.bz2 scala-885f76fd054d5e71202112bae75c313bbad269ab.zip |
Applied Paul's patch which closes #3306.
Diffstat (limited to 'src/library/scala/collection/generic')
-rw-r--r-- | src/library/scala/collection/generic/TraversableForwarder.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/scala/collection/generic/TraversableForwarder.scala b/src/library/scala/collection/generic/TraversableForwarder.scala index 8869e25f44..3995a5258b 100644 --- a/src/library/scala/collection/generic/TraversableForwarder.scala +++ b/src/library/scala/collection/generic/TraversableForwarder.scala @@ -74,7 +74,8 @@ trait TraversableForwarder[+A] extends Traversable[A] { override def toList: List[A] = underlying.toList override def toIterable: Iterable[A] = underlying.toIterable override def toSeq: Seq[A] = underlying.toSeq - override def toIndexedSeq[B >: A]: mutable.IndexedSeq[B] = underlying.toIndexedSeq + override def toIndexedSeq[B >: A] = underlying.toIndexedSeq + override def toBuffer[B >: A] = underlying.toBuffer override def toStream: Stream[A] = underlying.toStream override def toSet[B >: A]: immutable.Set[B] = underlying.toSet override def toMap[T, U](implicit ev: A <:< (T, U)): immutable.Map[T, U] = underlying.toMap(ev) |