inference: ensure foreign variables do not participate in inference process, e.g. variables from method reference overload resolution (IDEA-154622)

This commit is contained in:
Anna.Kozlova
2016-04-13 21:11:02 +02:00
parent 3b46b4c3bf
commit d780e31bdf
5 changed files with 43 additions and 15 deletions
@@ -510,6 +510,10 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testIgnoreForeignVariables() throws Exception {
doTest();
}
private void doTest() {
doTest(false);
}