new inference: testdata for IDEA-120376

This commit is contained in:
Anna Kozlova
2014-02-07 19:09:29 +01:00
parent 6cf7b4ab89
commit 5358bd270e
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import java.util.Comparator;
public class Test<T extends Test<T>> {
Comparator<Test<?>> bySize = Comparator.comparingInt(Test::size);
public int size() {
return 0;
}
}