summaryrefslogtreecommitdiff
path: root/test/files/run/t2255.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2009-08-19 14:10:53 +0000
committerPhilipp Haller <hallerp@gmail.com>2009-08-19 14:10:53 +0000
commitc55580014c7d2aec878e9bd6387ba1f740083176 (patch)
tree87de9d8d400f63553dca77081fdd417d858f0ca0 /test/files/run/t2255.scala
parentd249bcf71f631ee9dc9e117a110137ca1d021ac3 (diff)
downloadscala-c55580014c7d2aec878e9bd6387ba1f740083176.tar.gz
scala-c55580014c7d2aec878e9bd6387ba1f740083176.tar.bz2
scala-c55580014c7d2aec878e9bd6387ba1f740083176.zip
Second half of fix for #2177. Fixed #2255.
Diffstat (limited to 'test/files/run/t2255.scala')
-rw-r--r--test/files/run/t2255.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t2255.scala b/test/files/run/t2255.scala
new file mode 100644
index 0000000000..be800adf5a
--- /dev/null
+++ b/test/files/run/t2255.scala
@@ -0,0 +1,3 @@
+object Test extends Application {
+ println(Stream.continually(Stream(1, 2, 3)).flatten.take(6).toList)
+}