diff options
author | David MacIver <david.maciver@gmail.com> | 2008-10-26 10:21:47 +0000 |
---|---|---|
committer | David MacIver <david.maciver@gmail.com> | 2008-10-26 10:21:47 +0000 |
commit | f902a988a09721e1c894f42544d25a51fe2801d1 (patch) | |
tree | 51be8438ffe55190559c609575e0f2f3928b0bd2 /test/pending/pos | |
parent | 758092d16b71e7b0ddf552c54ae1a76a06834cb6 (diff) | |
download | scala-f902a988a09721e1c894f42544d25a51fe2801d1.tar.gz scala-f902a988a09721e1c894f42544d25a51fe2801d1.tar.bz2 scala-f902a988a09721e1c894f42544d25a51fe2801d1.zip |
Fix for ticket 1260.
Diffstat (limited to 'test/pending/pos')
-rw-r--r-- | test/pending/pos/t1260.scala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/pending/pos/t1260.scala b/test/pending/pos/t1260.scala deleted file mode 100644 index b05259998e..0000000000 --- a/test/pending/pos/t1260.scala +++ /dev/null @@ -1,17 +0,0 @@ -case class Foo(a: String, b: String) - -object Bar { - def unapply(s: String): Option[Long] = - try { Some(s.toLong) } catch { case _ => None } -} - -object Test { - def main(args: Array[String]) { - val f = Foo("1", "2") - f match { - case Foo(Bar(1), Bar(2)) => () - case Foo(Bar(i), Bar(j)) if i >= 0 => () - } - } -} - |