diff options
author | Martin Odersky <odersky@gmail.com> | 2013-11-14 17:50:10 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-11-14 18:05:41 +0100 |
commit | ffe9e2237956d167b51c9ab1e571a04163b525f7 (patch) | |
tree | 952d7177e26997df8761452844df0f375a3aae75 /tests/pos/collections.scala | |
parent | fe865cd382bb21026b79070eafa597b865fe461c (diff) | |
download | dotty-ffe9e2237956d167b51c9ab1e571a04163b525f7.tar.gz dotty-ffe9e2237956d167b51c9ab1e571a04163b525f7.tar.bz2 dotty-ffe9e2237956d167b51c9ab1e571a04163b525f7.zip |
Some configuation parameters
Caching, plus whether we want to match on signatures or types.
Diffstat (limited to 'tests/pos/collections.scala')
-rw-r--r-- | tests/pos/collections.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/pos/collections.scala b/tests/pos/collections.scala index e91a90a90..71848c14d 100644 --- a/tests/pos/collections.scala +++ b/tests/pos/collections.scala @@ -2,6 +2,9 @@ import scala.collection.generic.CanBuildFrom object collections { + val s = Set(1, 2, 3) + val ss = s map (_ + 1) + val cbf: CanBuildFrom[List, Int, List[Int]] = scala.collection.immutable.List.canBuildFrom val nil = Nil @@ -13,5 +16,4 @@ object collections { val ys = ints3 map (x => x + 1) val zs = ys filter (y => y != 0) - }
\ No newline at end of file |