summaryrefslogtreecommitdiff
path: root/test/files/neg/anyval-children.check
blob: cbb5a2b1d1280a5037ffea455724615f5203fcac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
anyval-children.scala:7: error: illegal inheritance; superclass Bippy
 is not a subclass of the superclass Object
 of the mixin trait ScalaObject
class NotOkBippy1 extends Bippy // fail
                  ^
anyval-children.scala:9: error: illegal inheritance; superclass Bippy
 is not a subclass of the superclass Object
 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
class NotOkBippy2 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 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
@inline class NotOkBippy3 extends Bippy with Immutable //fail
                          ^
5 errors found