mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00

Type-checking of non-overloaded method references should be independent from target-type Reviewed-by: jjg, vromero
3 lines
296 B
Text
3 lines
296 B
Text
MethodReference70.java:26:10: compiler.err.ref.ambiguous: g, kindname.method, <Z>g(MethodReference70.F<Z>), MethodReference70, kindname.method, <Z>g(MethodReference70.G<Z>), MethodReference70
|
|
MethodReference70.java:26:11: compiler.err.prob.found.req: (compiler.misc.cyclic.inference: Z)
|
|
2 errors
|