blob: 8dd3507cd909f7ba79bc13df938753af0d5de7f5 (
plain) (
tree)
|
|
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
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
class T extends Unit;
^
four errors found
|