mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
java highlighting tests moved to community
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
class s {
|
||||
void f() {
|
||||
int i;
|
||||
int <error descr="Variable 'i' is already defined in the scope">i</error>;
|
||||
}
|
||||
void f1() {
|
||||
int i;
|
||||
{
|
||||
int <error descr="Variable 'i' is already defined in the scope">i</error>;
|
||||
}
|
||||
}
|
||||
void f2() {
|
||||
int i;
|
||||
class ss
|
||||
{
|
||||
int i;
|
||||
}
|
||||
}
|
||||
|
||||
int <error descr="Variable 'f' is already defined in the scope">f</error>;
|
||||
int <error descr="Variable 'f' is already defined in the scope">f</error>;
|
||||
void f3() {
|
||||
int f;
|
||||
}
|
||||
|
||||
public void tutu(String e) {
|
||||
try {
|
||||
Integer.parseInt("3");
|
||||
} catch (NumberFormatException <error descr="Variable 'e' is already defined in the scope">e</error>) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user