mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce variable/occurrences: allow to walk up through anonymous
the current behavior is not transitive as occurrences inside anonymous when selected outside were detected (IDEA-174339)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
class Bug {
|
||||
Bug(String s) {}
|
||||
|
||||
void m(String s) {
|
||||
new Bug(s.substring(1)) {
|
||||
@Override
|
||||
public String toString() {
|
||||
return <selection>s.substring(1)</selection>;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user