aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t6420.check
blob: c62b33d181a5faa465e10a39b7cb386fa159c16d (plain) (blame)
1
2
3
4
5
./tests/patmat/t6420.scala:5: warning: match may not be exhaustive.
It would fail on the following input: (Nil, _), (List(_, _), _), (Nil, Nil), (Nil, List(_, _)), (List(_, _), Nil), (List(_, _), List(_, _)), (_, Nil), (_, List(_, _))
  def foo(x: List[Boolean], y: List[Boolean]) = (x,y) match {
                                                      ^
one warning found