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


                                                                     
                                   
         
               
bug663.scala:11: error: name clash between defined and inherited member:
method asMatch:(m: Test.this.Node)Any and
method asMatch:(node: Test.this.Matchable)Any in trait MatchableImpl
have same type after erasure: (m: test.Test#NodeImpl)java.lang.Object
    def asMatch(m : Node) : Any = {
        ^
one error found