diff options
author | michelou <michelou@epfl.ch> | 2007-12-04 12:24:05 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-12-04 12:24:05 +0000 |
commit | 1120eaf953295d2f01f799448f24f16fba724c76 (patch) | |
tree | 6490534c2566b2ed25d18e9c0645d23fc594dbc4 /test/files | |
parent | c68abba08e11c799059e37471ddc2ee102a52ba6 (diff) | |
download | scala-1120eaf953295d2f01f799448f24f16fba724c76.tar.gz scala-1120eaf953295d2f01f799448f24f16fba724c76.tar.bz2 scala-1120eaf953295d2f01f799448f24f16fba724c76.zip |
commented out unreachable code
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bug1136.scala | 4 |
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 } } } |