diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-08-19 12:26:25 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-08-19 12:26:25 +0000 |
commit | 1ededc1ab0be9565ab75f971cba7604ce977803c (patch) | |
tree | 0b64ae57c3342f3d63d378ec643ee3b11580ae17 /test/files/run | |
parent | 9d202a7a8d40cac83706e98c59c72f08f355af58 (diff) | |
download | scala-1ededc1ab0be9565ab75f971cba7604ce977803c.tar.gz scala-1ededc1ab0be9565ab75f971cba7604ce977803c.tar.bz2 scala-1ededc1ab0be9565ab75f971cba7604ce977803c.zip |
closes #2788.
the added flexibility'll cost ya one ClassManifest
review by phaller
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t2788.check | 1 | ||||
-rw-r--r-- | test/files/run/t2788.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t2788.check b/test/files/run/t2788.check new file mode 100644 index 0000000000..684f5f616c --- /dev/null +++ b/test/files/run/t2788.check @@ -0,0 +1 @@ +List(1, 2)
\ No newline at end of file diff --git a/test/files/run/t2788.scala b/test/files/run/t2788.scala new file mode 100644 index 0000000000..7cc5031a59 --- /dev/null +++ b/test/files/run/t2788.scala @@ -0,0 +1,3 @@ +object Test extends Application { + println(Array(Some(1), None, Some(2)).flatten.toList) +}
\ No newline at end of file |