method reference: replace raw substitutor from second search with inferred substitutor and don't forget super class substitution (IDEA-149488)

This commit is contained in:
Anna Kozlova
2015-12-30 15:29:56 +01:00
parent f856e12c8a
commit 6aa61227df
4 changed files with 32 additions and 6 deletions
@@ -62,6 +62,10 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest(true);
}
public void testUncheckedWarningWithRawSecondSearchAndMethodFromSuper() throws Exception {
doTest(true);
}
public void testWildcardReturns() throws Exception {
doTest(false);
}