diff options
author | Martin Odersky <odersky@gmail.com> | 2016-04-16 13:55:49 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-04-16 13:55:49 +0200 |
commit | 8cb73c0f5ca8bd809d0b9d7549951678f2240a61 (patch) | |
tree | 8c58b75387b82f48dbdde3e71fecd4561a3718ad /tests/run/colltest5 | |
parent | 997afcbc9d8598496bcf6a4d1f0bed11c757243a (diff) | |
download | dotty-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.scala | 2 |
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 |