diff options
author | Paul Phillips <paulp@improving.org> | 2011-09-28 23:08:28 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-09-28 23:08:28 +0000 |
commit | 34387c718492c26072b3cf402eb15494e5a552db (patch) | |
tree | 91aff98b123c6dc5f82d97e7d12c61ad6516f395 /test/files/neg/t425.check | |
parent | 898755056642cc3771d33260295f1f51cabc6513 (diff) | |
download | scala-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/t425.check')
-rw-r--r-- | test/files/neg/t425.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t425.check b/test/files/neg/t425.check index 671c128753..77ea0c5a4b 100644 --- a/test/files/neg/t425.check +++ b/test/files/neg/t425.check @@ -1,4 +1,4 @@ -t425.scala:3: error: case class `class B' has case ancestor `class A'. Case-to-case inheritance is prohibited. To overcome this limitation use extractors to pattern match on non-leaf nodes. +t425.scala:3: error: case class B has case ancestor Temp.A, but case-to-case inheritance is prohibited. To overcome this limitation, use extractors to pattern match on non-leaf nodes. case class B(override val x: Int, y: Double) extends A(x) ^ one error found |