highlighting: don't add warning for nested lambda when problem is inside upper level (IDEA-155192)

This commit is contained in:
Anna.Kozlova
2016-04-25 14:41:56 +02:00
parent 79facb311f
commit e588d2285a
3 changed files with 16 additions and 1 deletions
@@ -312,6 +312,10 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testDontWarnAboutNestedLambdaForAProblemInOuter() throws Exception {
doTest();
}
private void doTest() {
doTest(false);
}