From f5aa270473e0c335bd1a7a6b7f10f87b54a5d45e Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 26 Oct 2007 17:29:12 +0000 Subject: added/modified check files --- test/files/neg/t0152.check | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/neg/t0152.check (limited to 'test/files/neg/t0152.check') diff --git a/test/files/neg/t0152.check b/test/files/neg/t0152.check new file mode 100644 index 0000000000..84f78dc83c --- /dev/null +++ b/test/files/neg/t0152.check @@ -0,0 +1,6 @@ +t0152.scala:10: error: illegal inheritance; + object boom inherits different type instances of class Value: +Value[Int] and Value[java.lang.String] + object boom extends Value[java.lang.String]("foo") with PlusOne + ^ +one error found -- cgit v1.2.3