summaryrefslogblamecommitdiff
path: root/test/files/neg/t5358.check
blob: 59e83bba2f418448d7d27fdd8bbb46b4abb73f67 (plain) (tree)
1
2
3
4
5
6
7






                                                                 
t5358.scala:3: error: class C inherits conflicting members:
  method hi in trait A of type => String  and
  method hi in trait B of type => String
(Note: this can be resolved by declaring an override in class C.)
class C extends A with B
      ^
one error found