lambda: inference from formal params fixed (IDEA-101176)

This commit is contained in:
anna
2013-02-18 18:13:09 +01:00
parent dbd2a5db98
commit ec1fcb263f
3 changed files with 17 additions and 2 deletions

View File

@@ -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);
}
}