bd9526ecbe
Problem when explicit generic constructor type-arguments are used in conjunction with diamond Reviewed-by: jjg
4 lines
366 B
Plaintext
4 lines
366 B
Plaintext
Neg01.java:15:24: compiler.err.cant.apply.diamond.1: (compiler.misc.diamond: Neg01.Foo), (compiler.misc.infer.no.conforming.assignment.exists: X, int, java.lang.String)
|
|
Neg01.java:16:24: compiler.err.cant.apply.symbol.1: kindname.constructor, Foo, T, int, kindname.class, Neg01.Foo<X>, (compiler.misc.no.conforming.assignment.exists: int, java.lang.String)
|
|
2 errors
|