summaryrefslogtreecommitdiff
path: root/test/files/neg/anyval-children.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/anyval-children.check')
-rw-r--r--test/files/neg/anyval-children.check12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/files/neg/anyval-children.check b/test/files/neg/anyval-children.check
index cbb5a2b1d1..f1149a5ce3 100644
--- a/test/files/neg/anyval-children.check
+++ b/test/files/neg/anyval-children.check
@@ -1,6 +1,4 @@
-anyval-children.scala:7: error: illegal inheritance; superclass Bippy
- is not a subclass of the superclass Object
- of the mixin trait ScalaObject
+anyval-children.scala:7: error: Bippy does not have a constructor
class NotOkBippy1 extends Bippy // fail
^
anyval-children.scala:9: error: illegal inheritance; superclass Bippy
@@ -8,9 +6,7 @@ anyval-children.scala:9: error: illegal inheritance; superclass Bippy
of the mixin trait Immutable
class NotOkBippy2 extends Bippy with Immutable //fail
^
-anyval-children.scala:9: error: illegal inheritance; superclass Bippy
- is not a subclass of the superclass Object
- of the mixin trait ScalaObject
+anyval-children.scala:9: error: Bippy does not have a constructor
class NotOkBippy2 extends Bippy with Immutable //fail
^
anyval-children.scala:11: error: illegal inheritance; superclass Bippy
@@ -18,9 +14,7 @@ anyval-children.scala:11: error: illegal inheritance; superclass Bippy
of the mixin trait Immutable
@inline class NotOkBippy3 extends Bippy with Immutable //fail
^
-anyval-children.scala:11: error: illegal inheritance; superclass Bippy
- is not a subclass of the superclass Object
- of the mixin trait ScalaObject
+anyval-children.scala:11: error: Bippy does not have a constructor
@inline class NotOkBippy3 extends Bippy with Immutable //fail
^
5 errors found