summaryrefslogtreecommitdiff
path: root/test/files/neg/t0816.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-09-28 23:08:28 +0000
committerPaul Phillips <paulp@improving.org>2011-09-28 23:08:28 +0000
commit34387c718492c26072b3cf402eb15494e5a552db (patch)
tree91aff98b123c6dc5f82d97e7d12c61ad6516f395 /test/files/neg/t0816.check
parent898755056642cc3771d33260295f1f51cabc6513 (diff)
downloadscala-34387c718492c26072b3cf402eb15494e5a552db.tar.gz
scala-34387c718492c26072b3cf402eb15494e5a552db.tar.bz2
scala-34387c718492c26072b3cf402eb15494e5a552db.zip
Improved an error message.
Closes SI-4319, no review.
Diffstat (limited to 'test/files/neg/t0816.check')
-rw-r--r--test/files/neg/t0816.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t0816.check b/test/files/neg/t0816.check
index ff6489be99..48f37c1414 100644
--- a/test/files/neg/t0816.check
+++ b/test/files/neg/t0816.check
@@ -1,4 +1,4 @@
-t0816.scala:5: error: case class `class Ctest' has case ancestor `class Btest'. Case-to-case inheritance is prohibited. To overcome this limitation use extractors to pattern match on non-leaf nodes.
+t0816.scala:5: error: case class Ctest has case ancestor Btest, but case-to-case inheritance is prohibited. To overcome this limitation, use extractors to pattern match on non-leaf nodes.
case class Ctest(override val data: String) extends Btest(data, true)
^
one error found