diff options
author | Martin Odersky <odersky@gmail.com> | 2016-07-18 15:25:08 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-07-18 15:25:08 +0200 |
commit | 198817b3d55f3a3df4f320622e60515f05da3aa0 (patch) | |
tree | e768ed49caf0c28c579784122a057136797599c5 /tests/neg | |
parent | 60be18cce509bae1ed0d6c68b910f4bed10fa889 (diff) | |
download | dotty-198817b3d55f3a3df4f320622e60515f05da3aa0.tar.gz dotty-198817b3d55f3a3df4f320622e60515f05da3aa0.tar.bz2 dotty-198817b3d55f3a3df4f320622e60515f05da3aa0.zip |
Fix test error annotation
Diffstat (limited to 'tests/neg')
-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 { |