diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/neg/patmat.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/patmat.scala b/tests/neg/patmat.scala index e2ab9874e..1e72c104a 100644 --- a/tests/neg/patmat.scala +++ b/tests/neg/patmat.scala @@ -12,7 +12,7 @@ object Test { ca match { case x: B => case X() => - case D() => // error: neither a subtype not a supertype + case D() => // ok, but scalac disagrees } val cc = new C cc match { |