mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java: Highlight unreachable assignment of array element (IDEA-199556)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
void foo(String arg) throws Exception {
|
||||
Object[] objects;
|
||||
throw new Exception("");
|
||||
<error descr="Unreachable statement">objects[0] = arg;</error>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user