summaryrefslogblamecommitdiff
path: root/test/files/pos/t1659.check
blob: b75da8798b12aeed884d60f4a2a9384ec3d1069a (plain) (tree)
1
2
3
4
5
                                                                                       



                                                           
t1659.scala:3: error: overriding method u in trait W of type [A](v: Y{type X = A})Unit;
 method u has incompatible type
class Z extends W { def u[A](v : Y { type X = A }) = null }
                        ^
one error found