summaryrefslogtreecommitdiff
path: root/test/files/neg/patmatexhaust.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-05-24 11:33:34 +0200
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-05-28 12:58:03 +0200
commitfddd576b1183e394cdfb47f074fe7918a37644b6 (patch)
tree6600969e7bf4af33c5d65cbeef3db92e5dd1b813 /test/files/neg/patmatexhaust.check
parentbcc82808ecf056affecf11b14f3ad850ad21d773 (diff)
downloadscala-fddd576b1183e394cdfb47f074fe7918a37644b6.tar.gz
scala-fddd576b1183e394cdfb47f074fe7918a37644b6.tar.bz2
scala-fddd576b1183e394cdfb47f074fe7918a37644b6.zip
don't check exhaustivity involving user-defined unapplySeq
Diffstat (limited to 'test/files/neg/patmatexhaust.check')
-rw-r--r--test/files/neg/patmatexhaust.check6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/files/neg/patmatexhaust.check b/test/files/neg/patmatexhaust.check
index 6172811e13..1168f36e11 100644
--- a/test/files/neg/patmatexhaust.check
+++ b/test/files/neg/patmatexhaust.check
@@ -18,10 +18,6 @@ patmatexhaust.scala:53: error: match may not be exhaustive.
It would fail on the following input: Gp()
def ma5(x:Deep) = x match {
^
-patmatexhaust.scala:59: error: match may not be exhaustive.
-It would fail on the following input: Nil
- def ma6() = List(1,2) match { // give up
- ^
patmatexhaust.scala:75: error: match may not be exhaustive.
It would fail on the following input: B()
def ma9(x: B) = x match {
@@ -38,4 +34,4 @@ patmatexhaust.scala:126: error: match may not be exhaustive.
It would fail on the following input: C1()
def ma10(x: C) = x match { // not exhaustive: C1 is not abstract.
^
-10 errors found
+9 errors found