mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
new inference: non-wildcard parameterization
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java.util.function.Function;
|
||||
|
||||
class Sample {
|
||||
{
|
||||
Function<? extends String, ? extends Integer> f = (String s) -> s.length();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user