don't calculate type of method expression which is located on the left side of assignment - assignment is invalid anyway

(EA-77049 - assert: PsiMethodCallExpressionImpl$TypeEvaluator.fun)
This commit is contained in:
Anna.Kozlova
2016-04-19 19:05:54 +02:00
parent 530b0b04e5
commit abf32b50d5
3 changed files with 26 additions and 1 deletions
@@ -433,6 +433,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
public void testPolyMethodCallOnLeftSideOfAssignment() throws Exception {
doTest();
}
public void testVariableNamesOfNestedCalls() throws Exception {
IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_8, getModule(), getTestRootDisposable());
String filePath = BASE_PATH + "/" + getTestName(false) + ".java";