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

                                                                           


                                                            
tcpoly_override.scala:9: error: The kind of type T does not conform to the expected kind of type T[_] in trait A.
C.this.T's type parameters do not match type T's expected parameters:
type T (in class C) has no type parameters, but type T (in trait A) has one
 type T = B // This compiles well (@M: ... but it shouldn't)
      ^
one error found