diff options
author | Philipp Haller <hallerp@gmail.com> | 2009-10-13 15:43:29 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2009-10-13 15:43:29 +0000 |
commit | e76f8f00cd4fea45de53dc196cc77336958f8125 (patch) | |
tree | 96d8ef279d5bb48b37b8b5cfe97f1ab051d7dd83 /test/files/pos | |
parent | 820e0bd94001e2732b119d217a12844e4720d165 (diff) | |
download | scala-e76f8f00cd4fea45de53dc196cc77336958f8125.tar.gz scala-e76f8f00cd4fea45de53dc196cc77336958f8125.tar.bz2 scala-e76f8f00cd4fea45de53dc196cc77336958f8125.zip |
Fixed #2234.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t2234.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t2234.scala b/test/files/pos/t2234.scala new file mode 100644 index 0000000000..cea657b16f --- /dev/null +++ b/test/files/pos/t2234.scala @@ -0,0 +1,4 @@ +object Test extends Application { + val res0 = 1 #:: Stream.empty + res0 match { case 1 #:: xs => xs } +} |