aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t5440.check
blob: 0780d652945eb1d1db4211cb84ac9f029fb46b95 (plain) (blame)
1
2
3
4
5
./tests/patmat/t5440.scala:2: warning: match may not be exhaustive.
It would fail on the following input: (Nil, List(_)), (List(_), Nil)
  def merge(list1: List[Long], list2: List[Long]): Boolean = (list1, list2) match {
                                                                            ^
one warning found