aboutsummaryrefslogtreecommitdiff
path: root/tests/run/CollectionTests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-03-01 18:39:50 +0100
committerMartin Odersky <odersky@gmail.com>2016-03-09 12:06:03 +0100
commitff6c79d22a0f0142d204e97b027b29eb869f0188 (patch)
treebfa31248b8c62b47f1a1cf52c640c2828f2cb30d /tests/run/CollectionTests.scala
parentbdd8c35447aa92969abf1dbaf479b6995fdfb7f4 (diff)
downloaddotty-ff6c79d22a0f0142d204e97b027b29eb869f0188.tar.gz
dotty-ff6c79d22a0f0142d204e97b027b29eb869f0188.tar.bz2
dotty-ff6c79d22a0f0142d204e97b027b29eb869f0188.zip
New collection strawman
Centered around views instead of iterators.
Diffstat (limited to 'tests/run/CollectionTests.scala')
-rw-r--r--tests/run/CollectionTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run/CollectionTests.scala b/tests/run/CollectionTests.scala
index bcef54761..716c46d5e 100644
--- a/tests/run/CollectionTests.scala
+++ b/tests/run/CollectionTests.scala
@@ -3,7 +3,7 @@ import scala.reflect.ClassTag
object Test {
import strawman.collections._
- import CollectionStrawMan1._
+ import CollectionStrawMan4._
def seqOps(xs: Seq[Int]) = {
val x1 = xs.foldLeft("")(_ + _)
@@ -128,7 +128,7 @@ object Test {
val ys10: String = xs10
val xs11 = xs ++ xs
val ys11: String = xs11
- val xs11a = xs ++ List('x', 'y')
+ val xs11a = xs ++ List('x', 'y') // Cons('x', Cons('y', Nil))
val ys11a: String = xs11a
val xs12 = xs ++ Nil
val ys12: String = xs12