redundant cast: process branches of conditional expressions with respect to expected type for functional expressions (IDEA-156480)

This commit is contained in:
Anna Kozlova
2016-05-25 18:40:17 +03:00
parent 3e2423f245
commit 7f8b5f8952
3 changed files with 16 additions and 0 deletions
@@ -80,6 +80,7 @@ public class LambdaRedundantCastTest extends LightDaemonAnalyzerTestCase {
}
public void testInvalidResolveWithoutCast() { doTest();}
public void testCastInConditionalBranch() { doTest();}
public void testRejectReturnTypeChange() throws Exception {
doTest();