mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
redundant cast: process branches of conditional expressions with respect to expected type for functional expressions (IDEA-156480)
This commit is contained in:
+1
@@ -80,6 +80,7 @@ public class LambdaRedundantCastTest extends LightDaemonAnalyzerTestCase {
|
||||
}
|
||||
|
||||
public void testInvalidResolveWithoutCast() { doTest();}
|
||||
public void testCastInConditionalBranch() { doTest();}
|
||||
|
||||
public void testRejectReturnTypeChange() throws Exception {
|
||||
doTest();
|
||||
|
||||
Reference in New Issue
Block a user