summaryrefslogblamecommitdiff
path: root/test/files/neg/t6566a.check
blob: 7668f9d2fbc9ffc86e480a19315b668e5fad6827 (plain) (tree)
1
2
3
4



                                                                                             
t6566a.scala:2: error: covariant type T occurs in invariant position in type T of type MyType
  class TypeCheat[+T] { type MyType = T }
                             ^
one error found