aboutsummaryrefslogtreecommitdiff
path: root/tests/run/colltest5
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-04-16 13:55:49 +0200
committerMartin Odersky <odersky@gmail.com>2016-04-16 13:55:49 +0200
commit8cb73c0f5ca8bd809d0b9d7549951678f2240a61 (patch)
tree8c58b75387b82f48dbdde3e71fecd4561a3718ad /tests/run/colltest5
parent997afcbc9d8598496bcf6a4d1f0bed11c757243a (diff)
downloaddotty-8cb73c0f5ca8bd809d0b9d7549951678f2240a61.tar.gz
dotty-8cb73c0f5ca8bd809d0b9d7549951678f2240a61.tar.bz2
dotty-8cb73c0f5ca8bd809d0b9d7549951678f2240a61.zip
Drop type annotation in collection test
Diffstat (limited to 'tests/run/colltest5')
-rw-r--r--tests/run/colltest5/CollectionTests_2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/colltest5/CollectionTests_2.scala b/tests/run/colltest5/CollectionTests_2.scala
index e7b34d292..cdff2e260 100644
--- a/tests/run/colltest5/CollectionTests_2.scala
+++ b/tests/run/colltest5/CollectionTests_2.scala
@@ -124,7 +124,7 @@ object Test {
val ys9: Seq[Int] = xs9
val xs9a = xs.map(_.toUpper) // !!! need a language change to make this work without the : Char
val ys9a: String = xs9a
- val xs10 = xs.flatMap((x: Char) => s"$x,$x")
+ val xs10 = xs.flatMap(x => s"$x,$x")
val ys10: String = xs10
val xs11 = xs ++ xs
val ys11: String = xs11