summaryrefslogtreecommitdiff
path: root/test/files/pos/bug1136.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-12-04 12:24:05 +0000
committermichelou <michelou@epfl.ch>2007-12-04 12:24:05 +0000
commit1120eaf953295d2f01f799448f24f16fba724c76 (patch)
tree6490534c2566b2ed25d18e9c0645d23fc594dbc4 /test/files/pos/bug1136.scala
parentc68abba08e11c799059e37471ddc2ee102a52ba6 (diff)
downloadscala-1120eaf953295d2f01f799448f24f16fba724c76.tar.gz
scala-1120eaf953295d2f01f799448f24f16fba724c76.tar.bz2
scala-1120eaf953295d2f01f799448f24f16fba724c76.zip
commented out unreachable code
Diffstat (limited to 'test/files/pos/bug1136.scala')
-rw-r--r--test/files/pos/bug1136.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/bug1136.scala b/test/files/pos/bug1136.scala
index fcceaf5473..e505badc9c 100644
--- a/test/files/pos/bug1136.scala
+++ b/test/files/pos/bug1136.scala
@@ -1,8 +1,8 @@
object test {
- def foo(s: Int*): Unit = {
+ def foo(s: Int*) {
s.toList match {
case t: List[Int] => foo(t: _*)
- case _ =>
+ //case _ => // unreachable code
}
}
}