invocation type inference: don't create fresh variables for all type parameters but only for those where wildcards are used in return type (IDEA-155627; IDEA-151220; IDEA-151387)

This commit is contained in:
Anna.Kozlova
2016-05-06 18:00:16 +02:00
parent 364f281384
commit d85c70d870
4 changed files with 69 additions and 3 deletions
@@ -468,6 +468,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
}
}
public void testCreateFreshVariablesOnlyForWildcardPlacesDuringReturnTypeProcessing() throws Exception {
doTest();
}
private void doTest() throws Exception {
doTest(false);
}