aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t6420.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patmat/t6420.check')
-rw-r--r--tests/patmat/t6420.check6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/patmat/t6420.check b/tests/patmat/t6420.check
index c62b33d18..73acf1454 100644
--- a/tests/patmat/t6420.check
+++ b/tests/patmat/t6420.check
@@ -1,5 +1 @@
-./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 \ No newline at end of file
+5: Pattern Match Exhaustivity: (Nil, _), (List(_, _), _), (Nil, Nil), (Nil, List(_, _)), (List(_, _), Nil), (List(_, _), List(_, _)), (_, Nil), (_, List(_, _))