summaryrefslogtreecommitdiff
path: root/test/files/neg/exhausting.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/exhausting.scala')
-rw-r--r--test/files/neg/exhausting.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/exhausting.scala b/test/files/neg/exhausting.scala
index 5554ee2671..01c34f7039 100644
--- a/test/files/neg/exhausting.scala
+++ b/test/files/neg/exhausting.scala
@@ -17,7 +17,7 @@ object Test {
case (_: Foo[_], _: Foo[_]) => ()
}
- // fails for: ::(_, ::(_, ::(_, _)))
+ // fails for: ::(_, Nil), ::(_, ::(_, ::(_, _))), ...
def fail1[T](xs: List[T]) = xs match {
case Nil => "ok"
case x :: y :: Nil => "ok"