diff options
author | Paul Phillips <paulp@improving.org> | 2010-09-15 23:13:03 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-09-15 23:13:03 +0000 |
commit | d5701f0c97a3d9a489da84d9f2c8062be6450c02 (patch) | |
tree | 6a05411cfbc7bf438c5cd892cbe84c5c0bfdb84a /test/files | |
parent | 726a3366519b61a63462cae38f8ce01c9bd62d90 (diff) | |
download | scala-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')
-rw-r--r-- | test/files/pos/bug3534.scala | 6 |
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 |