overload resolution: clear inference errors from nested calls when top level expression is abadoned as non-applicable (IDEA-150718; IDEA-153222)

This commit is contained in:
Anna.Kozlova
2016-03-18 15:50:22 +01:00
parent cf20da777d
commit 034012ae4e
3 changed files with 58 additions and 0 deletions
@@ -406,6 +406,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
public void testPullingErrorMessagesFromSubExpressionsToTheTopLevel() throws Exception {
doTest();
}
public void testVariableNamesOfNestedCalls() throws Exception {
IdeaTestUtil.setTestVersion(JavaSdkVersion.JDK_1_8, getModule(), getTestRootDisposable());
String filePath = BASE_PATH + "/" + getTestName(false) + ".java";