1
t6260.scala:3: error: bridge generated for member method apply: (bx: Box[X])Box[Y] in anonymous class $anonfun
2
which overrides method apply: (v1: T1)R in trait Function1
3
clashes with definition of the member itself;
4
both have erased type (v1: Object)Object
5
((bx: Box[X]) => new Box(f(bx.x)))(this)
7
t6260.scala:8: error: bridge generated for member method apply: (bx: Box[X])Box[Y] in anonymous class $anonfun
8
which overrides method apply: (v1: T1)R in trait Function1
9
clashes with definition of the member itself;
10
both have erased type (v1: Object)Object
11
((bx: Box[X]) => new Box(f(bx.x)))(self)