blob: f5cd6947d128aa64aedb3e97c92fdf05a2734065 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
delambdafy_t6260_method.scala:3: error: bridge generated for member method apply: (bx: Object)Object in class map$extension1
which overrides method apply: (v1: Object)Object in trait Function1
clashes with definition of the member itself;
both have erased type (bx: Object)Object
((bx: Box[X]) => new Box(f(bx.x)))(this)
^
delambdafy_t6260_method.scala:8: error: bridge generated for member method apply: (bx: Object)Object in class map21
which overrides method apply: (v1: Object)Object in trait Function1
clashes with definition of the member itself;
both have erased type (bx: Object)Object
((bx: Box[X]) => new Box(f(bx.x)))(self)
^
two errors found
|