summaryrefslogtreecommitdiff
path: root/test/files/pos/bug1136.scala
diff options
context:
space:
mode:
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
}
}
}