From ffe9e2237956d167b51c9ab1e571a04163b525f7 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 14 Nov 2013 17:50:10 +0100 Subject: Some configuation parameters Caching, plus whether we want to match on signatures or types. --- tests/pos/collections.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/pos/collections.scala') 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 -- cgit v1.2.3