diff options
author | Martin Odersky <odersky@gmail.com> | 2016-03-01 18:39:50 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-03-09 12:06:03 +0100 |
commit | ff6c79d22a0f0142d204e97b027b29eb869f0188 (patch) | |
tree | bfa31248b8c62b47f1a1cf52c640c2828f2cb30d /tests/run/CollectionTests.scala | |
parent | bdd8c35447aa92969abf1dbaf479b6995fdfb7f4 (diff) | |
download | dotty-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.scala | 4 |
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 |