mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
new inference: testdata for IDEA-120376
This commit is contained in:
+9
@@ -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;
|
||||
}
|
||||
}
|
||||
+4
@@ -149,6 +149,10 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA120376() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user