blob: 3a7e8947aa1538c49e2e8c2a2beec98a2aa41d9d (
plain) (
tree)
|
|
t6260b.scala:3: error: bridge generated for member method apply: ()X in <$anon: () => X>
which overrides method apply: ()R in trait Function0
clashes with definition of the member itself;
both have erased type ()Object
class Y { def f = new X("") or new X("") }
^
one error found
|