From ced4ddfef6b26f5aa84960289bb08c4cb883d071 Mon Sep 17 00:00:00 2001 From: David MacIver Date: Sun, 26 Oct 2008 12:52:21 +0000 Subject: Fix to #1450. Moved test from pending. --- test/files/run/matchonstream.check | 1 + test/files/run/matchonstream.scala | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 test/files/run/matchonstream.check create mode 100644 test/files/run/matchonstream.scala (limited to 'test/files/run') diff --git a/test/files/run/matchonstream.check b/test/files/run/matchonstream.check new file mode 100644 index 0000000000..3dc3aa5164 --- /dev/null +++ b/test/files/run/matchonstream.check @@ -0,0 +1 @@ +It worked! diff --git a/test/files/run/matchonstream.scala b/test/files/run/matchonstream.scala new file mode 100644 index 0000000000..d38d81d9fc --- /dev/null +++ b/test/files/run/matchonstream.scala @@ -0,0 +1,3 @@ +object Test extends Application{ + Stream.from(1) match { case Stream(1, 2, x @_*) => println("It worked!") } +} -- cgit v1.2.3