aboutsummaryrefslogtreecommitdiff
path: root/tests/run/colltest5
diff options
context:
space:
mode:
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