Details
-
Bug
-
Resolution: Fixed
-
P3
-
8, 8-repo-lambda
-
b91
-
Verified
Description
The following code gives an undeserved warning:
interface Foo<X> {
void m(List<X> lx, X x);
}
class Test {
Foo<String> fs1 = List::add; //warning: List is a raw type
}
The warning is undeserved, as List type-parameters are being inferred from the context.
interface Foo<X> {
void m(List<X> lx, X x);
}
class Test {
Foo<String> fs1 = List::add; //warning: List is a raw type
}
The warning is undeserved, as List type-parameters are being inferred from the context.