summaryrefslogtreecommitdiff
path: root/test/files/neg/t5617.check
blob: 79cc3a1e3240a2545d12a91e00659fce688cf537 (plain) (blame)
1
2
3
4
5
6
7
8
t5617.scala:12: error: method foo overrides nothing.
Note: the super classes of trait C contain the following, non final members named foo:
def foo(u: Unit): Int
def foo(x: Boolean): Int
def foo(i: Int)(b: String): Int
  override def foo(s: String): Int
               ^
one error found