summaryrefslogblamecommitdiff
path: root/test/files/neg/bug1275.check
blob: 9f806c068973d966581a2d71e9df4f287c7caeb0 (plain) (tree)
1
2
3
4
                                                                                                                                                


                                                                   
bug1275.scala:13: error: The kind of type MyType does not conform to the expected kind of type MyType[+t] <: TestCovariance.Seq[t] in trait Seq.
    def span[a, s <: Seq[a] { type MyType <: s } ](xs: s): s = xs f
                                   ^
one error found