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


                                                                     
                                   
         
               
t663.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