summaryrefslogtreecommitdiff
path: root/test/files/pos/bug3534.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-09-15 23:13:03 +0000
committerPaul Phillips <paulp@improving.org>2010-09-15 23:13:03 +0000
commitd5701f0c97a3d9a489da84d9f2c8062be6450c02 (patch)
tree6a05411cfbc7bf438c5cd892cbe84c5c0bfdb84a /test/files/pos/bug3534.scala
parent726a3366519b61a63462cae38f8ce01c9bd62d90 (diff)
downloadscala-d5701f0c97a3d9a489da84d9f2c8062be6450c02.tar.gz
scala-d5701f0c97a3d9a489da84d9f2c8062be6450c02.tar.bz2
scala-d5701f0c97a3d9a489da84d9f2c8062be6450c02.zip
Removed Throw from the set of unlabelled AST No...
Removed Throw from the set of unlabelled AST Nodes. Closes #3534, review by dragos.
Diffstat (limited to 'test/files/pos/bug3534.scala')
-rw-r--r--test/files/pos/bug3534.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/bug3534.scala b/test/files/pos/bug3534.scala
new file mode 100644
index 0000000000..d926d4e286
--- /dev/null
+++ b/test/files/pos/bug3534.scala
@@ -0,0 +1,6 @@
+object Test {
+ List[Option[Int]]() match {
+ case None :: bb :: cc => ()
+ case x => throw new Exception(x.filter(_.isDefined).mkString)
+ }
+ } \ No newline at end of file