summaryrefslogblamecommitdiff
path: root/test/files/neg/t663.check
blob: 40161fb3e34398f9359efba3ab204bf418e74571 (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)Object
    def asMatch(m : Node) : Any = {
        ^
one error found