blob: f709b20af251164db0fb585fbc1a03dd41e5664f (
plain) (
blame)
1
2
3
4
5
6
|
bug562.scala:10: error: error overriding value y in trait YYY of type scala.Int;
value y cannot override a value or variable definition in a trait
(this is an implementation restriction)
override val y = super.y;
^
one error found
|