summaryrefslogblamecommitdiff
path: root/test/files/neg/bug562.check
blob: 2cec407d45f4d864ed7d3095b4163b66f78dfdae (plain) (tree)
1
2
3
4
5
6
                                                                          




                                                                   
bug562.scala:10: error: error overriding value y in trait YYY of type 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