summaryrefslogtreecommitdiff
path: root/test/files/neg/t2070.check
blob: ef1d08f7b74dc45ff44b71ccd25c1c3c575f9ab2 (plain) (blame)
1
2
3
4
5
6
t2070.scala:8: error: The kind of trait T does not conform to the expected kind of type T[X] in trait A.
t2070.B.T's type parameters do not match type T's expected parameters:
type X (in object B) has one type parameter, but type X (in trait A) has none
    trait T[X[_]]
          ^
one error found