aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/collections.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-06-18 18:20:14 +0200
committerMartin Odersky <odersky@gmail.com>2014-06-18 18:21:07 +0200
commit7f721438b5bccc8ca9dd68cef273c8cac8199e1a (patch)
treea619fb770fee578354c7fca1f1c30c68f0d542d0 /tests/pos/collections.scala
parent388d9a889c6929699e879a307dc80145b906390a (diff)
downloaddotty-7f721438b5bccc8ca9dd68cef273c8cac8199e1a.tar.gz
dotty-7f721438b5bccc8ca9dd68cef273c8cac8199e1a.tar.bz2
dotty-7f721438b5bccc8ca9dd68cef273c8cac8199e1a.zip
Handling higher-kinded types with lambdas
Switch to the new scheme where higher-kinded types (and also some polymorphic type aliases) are represented as instances of Lambda traits.
Diffstat (limited to 'tests/pos/collections.scala')
-rw-r--r--tests/pos/collections.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos/collections.scala b/tests/pos/collections.scala
index 535e4b542..08c3010c8 100644
--- a/tests/pos/collections.scala
+++ b/tests/pos/collections.scala
@@ -31,6 +31,6 @@ object collections {
(ints2, chrs).zipped foreach do2
val xs = List(List(1), List(2), List(3)).iterator
- println(xs.flatten)
+ println(/*scala.collection.TraversableOnce.flattenTraversableOnce*/(xs).flatten)
}