mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
lambda: inference from formal params fixed (IDEA-101176)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class IDEA101176 {
|
||||
|
||||
static {
|
||||
foo((Integer i) -> i > 60);
|
||||
}
|
||||
|
||||
static <T> void foo(Predicate<? super T> p){}
|
||||
interface Predicate<T> {
|
||||
public boolean test(T t);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user