diff options
Diffstat (limited to 'test/files/pos/t2500.scala')
-rw-r--r-- | test/files/pos/t2500.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t2500.scala b/test/files/pos/t2500.scala new file mode 100644 index 0000000000..76dea4cf8d --- /dev/null +++ b/test/files/pos/t2500.scala @@ -0,0 +1,6 @@ +object Test { + import scala.collection._ + ((Map(1 -> "a", 2 -> "b"): collection.Map[Int, String]) map identity[(Int, String)]) : scala.collection.Map[Int,String] + ((SortedMap(1 -> "a", 2 -> "b"): collection.SortedMap[Int, String]) map identity[(Int, String)]): scala.collection.SortedMap[Int,String] + ((SortedSet(1, 2): collection.SortedSet[Int]) map identity[Int]): scala.collection.SortedSet[Int] +}
\ No newline at end of file |