overload resolution: don't skip errors from another context (IDEA-151119)

This commit is contained in:
Anna Kozlova
2016-02-02 14:38:40 +03:00
parent 2aa6d4fb87
commit a6625994fb
5 changed files with 30 additions and 5 deletions
@@ -200,6 +200,10 @@ public class OverloadResolutionTest extends LightDaemonAnalyzerTestCase {
doTest(true);
}
public void testPreserveErrorsFromOuterVariables() throws Exception {
doTest(true);
}
private void doTest() {
doTest(true);
}