method reference: proceed with class type when diamond static factory is used (IDEA-93099)

This commit is contained in:
anna
2012-11-21 12:12:19 +01:00
parent ffccf6a97b
commit a5f940d5e4
3 changed files with 42 additions and 1 deletions

View File

@@ -133,6 +133,10 @@ public class MethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testConstructorWithoutParams() throws Exception {
doTest();
}
public void testInferenceFromReturnType() throws Exception {
doTest(true);
}