diff options
Diffstat (limited to 'tests/patmat/t5440.check')
-rw-r--r-- | tests/patmat/t5440.check | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/patmat/t5440.check b/tests/patmat/t5440.check index 0780d6529..511fcc6b4 100644 --- a/tests/patmat/t5440.check +++ b/tests/patmat/t5440.check @@ -1,5 +1 @@ -./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 +2: Pattern Match Exhaustivity: (Nil, List(_)), (List(_), Nil) |