diff options
author | Paul Phillips <paulp@improving.org> | 2009-08-27 13:21:36 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-08-27 13:21:36 +0000 |
commit | 2c39b8b0839a5dfd48dfd073944f7b176cc63f4b (patch) | |
tree | 98313bcb7ad6f6f0ffffa31bfccc007005bd2362 /test/files | |
parent | de8a10cdd1badae2a73c8506a59eebaa1c323312 (diff) | |
download | scala-2c39b8b0839a5dfd48dfd073944f7b176cc63f4b.tar.gz scala-2c39b8b0839a5dfd48dfd073944f7b176cc63f4b.tar.bz2 scala-2c39b8b0839a5dfd48dfd073944f7b176cc63f4b.zip |
Fix and test case for #2187 and its duplicate #...
Fix and test case for #2187 and its duplicate #2192.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bug2187.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/bug2187.scala b/test/files/pos/bug2187.scala new file mode 100644 index 0000000000..087df13ec6 --- /dev/null +++ b/test/files/pos/bug2187.scala @@ -0,0 +1,7 @@ +// bug #2187 +object Test extends Application { + def foo(xs:List[String]) = xs match { + case Seq(x) => x + case Seq(x,y) => "" + } +}
\ No newline at end of file |