summaryrefslogtreecommitdiff
path: root/src/library/scalax/collection/generic/covartest/IterableTemplate.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scalax/collection/generic/covartest/IterableTemplate.scala')
-rwxr-xr-xsrc/library/scalax/collection/generic/covartest/IterableTemplate.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scalax/collection/generic/covartest/IterableTemplate.scala b/src/library/scalax/collection/generic/covartest/IterableTemplate.scala
index b83f3b9247..eb4281b427 100755
--- a/src/library/scalax/collection/generic/covartest/IterableTemplate.scala
+++ b/src/library/scalax/collection/generic/covartest/IterableTemplate.scala
@@ -12,7 +12,7 @@
package scalax.collection.generic.covartest
import scalax.collection.mutable.{Buffer, ArrayBuffer, ListBuffer}
-import scalax.collection.immutable.{List, Nil, ::}
+import scalax.collection.immutable.{List, Nil, ::, Stream}
import util.control.Break._
import Iterable._
@@ -411,7 +411,7 @@ b * @param thatElem element <code>thatElem</code> is used to fill up the
* Returns a sequence containing all of the elements in this iterable object.
* @note Will not terminate for infinite-sized collections.
*/
- def toSequence: Sequence[A] = toList.asInstanceOf[Sequence[A]] // !!!
+ def toSequence: Sequence[A] = toList
/** @deprecated use toSequence instead
*/