diff options
Diffstat (limited to 'tests/pos/collections.scala')
-rw-r--r-- | tests/pos/collections.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/collections.scala b/tests/pos/collections.scala index 71848c14d..910940e77 100644 --- a/tests/pos/collections.scala +++ b/tests/pos/collections.scala @@ -2,6 +2,8 @@ import scala.collection.generic.CanBuildFrom object collections { + List(1, 2, 3) map (x => 2) + val s = Set(1, 2, 3) val ss = s map (_ + 1) @@ -16,4 +18,5 @@ object collections { val ys = ints3 map (x => x + 1) val zs = ys filter (y => y != 0) + }
\ No newline at end of file |