summaryrefslogtreecommitdiff
path: root/test/files/neg/t4431.check
blob: 7896ec1a623fd716db74c3a6573ec29855d3ce22 (plain) (blame)
1
2
3
4
5
6
7
t4431.scala:5: error: class BB needs to be abstract, since there is a deferred declaration of method f which is not implemented in a subclass
  class BB extends B { def f (): Unit }
        ^
t4431.scala:8: error: trait cannot redefine final method from class AnyRef
  trait C { def wait (): Unit }
                ^
two errors found