diff options
author | Martin Odersky <odersky@gmail.com> | 2004-01-20 11:50:36 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2004-01-20 11:50:36 +0000 |
commit | 61cd59dc293b06e3d8486cc7c8c63dfbf6e7e66b (patch) | |
tree | 05afb8607826b0a7d128a6c23f3bd850bc22faf9 /test/files/neg | |
parent | f2ae3da0a7d57c98749dbb213c622a446ffa552d (diff) | |
download | scala-61cd59dc293b06e3d8486cc7c8c63dfbf6e7e66b.tar.gz scala-61cd59dc293b06e3d8486cc7c8c63dfbf6e7e66b.tar.bz2 scala-61cd59dc293b06e3d8486cc7c8c63dfbf6e7e66b.zip |
*** empty log message ***
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/bug95.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug95.check b/test/files/neg/bug95.check index 8dd3507cd9..d945753a53 100644 --- a/test/files/neg/bug95.check +++ b/test/files/neg/bug95.check @@ -2,14 +2,14 @@ bug95.scala:1: illegal inheritance from sealed class class C extends AnyVal; ^ bug95.scala:1: illegal inheritance; - scala.AnyVal does not conform to scala.ScalaObject's supertype + scala.AnyVal does not conform to scala.ScalaObject's supertype java.lang.Object class C extends AnyVal; ^ bug95.scala:2: illegal inheritance from sealed class class T extends Unit; ^ bug95.scala:2: illegal inheritance; - scala.Unit does not conform to scala.ScalaObject's supertype + scala.Unit does not conform to scala.ScalaObject's supertype java.lang.Object class T extends Unit; ^ four errors found |