treat conditional expressions with new expressions with diamonds inside as poly

EA-76546 - assert: InferenceSessionContainer.treeWalkUp
This commit is contained in:
Anna.Kozlova
2016-04-19 19:05:54 +02:00
parent abf32b50d5
commit c09caae28e
3 changed files with 25 additions and 2 deletions
@@ -437,6 +437,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
public void testTreatConditionalExpressionAsPolyIfNewExpressionWithDiamondsIsUsed() throws Exception {
doTest();
}
public void testVariableNamesOfNestedCalls() throws Exception {
IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_8, getModule(), getTestRootDisposable());
String filePath = BASE_PATH + "/" + getTestName(false) + ".java";