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






                                                                                      
t6260c.scala:4: error: bridge generated for member method f: ()Option[A] in class Bar1
which overrides method f: ()A in class Foo1
clashes with definition of the member itself;
both have erased type ()Object
         class Bar1[A] extends Foo1[Option[A]] { def f(): Option[A] = ??? }
                                                     ^
one error found