mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
correct level in highlighting:
highlight element X only when visiting X or its ascendant
This commit is contained in:
+5
-1
@@ -22,8 +22,12 @@ class a {
|
||||
for (Object oi: (Iterable)o) {}
|
||||
|
||||
|
||||
for (<error descr="Incompatible types. Found: 'double', required: 'int'">int i:db</error>) {
|
||||
// error descr="Incompatible types. Found: 'double', required: 'int'" was not shown because there is an error in nested for
|
||||
for (int i : db) {
|
||||
for (<error descr="Incompatible types. Found: 'java.lang.Object', required: 'int'">int p: list</error>) {}
|
||||
}
|
||||
|
||||
for (int gjkh : <error descr="foreach not applicable to type 'int'">222</error>) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user