From 5f491e5d037b799476747f0dee6ea50fe87c269b Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 7 Mar 2011 11:50:25 +0000 Subject: Raised the scariness of the case class deprecat... Raised the scariness of the case class deprecation message. (I hope you don't mind, hubert, I like writing scary messages.) Closes #4109 I suppose, no review. --- test/files/neg/caseinherit.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/neg/caseinherit.scala (limited to 'test/files/neg/caseinherit.scala') diff --git a/test/files/neg/caseinherit.scala b/test/files/neg/caseinherit.scala new file mode 100644 index 0000000000..fdac97c98e --- /dev/null +++ b/test/files/neg/caseinherit.scala @@ -0,0 +1,6 @@ +case class A(x: Int) +case class B(y: Int) extends A(y) +case object Bippy extends A(55) + +class Innocent extends A(5) +case class Dingus(y: Int) extends Innocent \ No newline at end of file -- cgit v1.2.3