From c55580014c7d2aec878e9bd6387ba1f740083176 Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Wed, 19 Aug 2009 14:10:53 +0000 Subject: Second half of fix for #2177. Fixed #2255. --- test/files/run/t2255.check | 1 + test/files/run/t2255.scala | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 test/files/run/t2255.check create mode 100644 test/files/run/t2255.scala (limited to 'test') diff --git a/test/files/run/t2255.check b/test/files/run/t2255.check new file mode 100644 index 0000000000..dda391b36d --- /dev/null +++ b/test/files/run/t2255.check @@ -0,0 +1 @@ +List(1, 2, 3, 1, 2, 3) 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) +} -- cgit v1.2.3