summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-06-16 21:59:16 +0000
committerPaul Phillips <paulp@improving.org>2010-06-16 21:59:16 +0000
commitf750b08d9e8121c32cd433ee167cbc95705429ed (patch)
tree380382b7a2dd2291f9c8231e3d5f29f088e311d7 /test/pending
parent9e0618ba29426ea5cb12caf881ce892a1d2365b9 (diff)
downloadscala-f750b08d9e8121c32cd433ee167cbc95705429ed.tar.gz
scala-f750b08d9e8121c32cd433ee167cbc95705429ed.tar.bz2
scala-f750b08d9e8121c32cd433ee167cbc95705429ed.zip
A wholesale reversion of the pattern matcher to...
A wholesale reversion of the pattern matcher to r21939, motivated by the appearance of #3578. Closes #3578, reopens #2800, #3050. Review by moors. (I can't keep saying "no review" when every move I make in here seems to break something.)
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/run/bug3050.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/run/bug3050.scala b/test/pending/run/bug3050.scala
new file mode 100644
index 0000000000..aaec99ec14
--- /dev/null
+++ b/test/pending/run/bug3050.scala
@@ -0,0 +1,9 @@
+object Test {
+ def main(args: Array[String]): Unit = {
+ val x =
+ try { ("": Any) match { case List(_*) => true } }
+ catch { case _ => false }
+
+ assert(x == false)
+ }
+}