mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
rename conflict: local variable hided by a field in an inner class (IDEA-20700)
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
public class A {
|
||||
Thread m() {
|
||||
final int x<caret> = 42;
|
||||
return new Thread() {
|
||||
int y = 23;
|
||||
|
||||
public void run() {
|
||||
System.out.println(x);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new A().m().start();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user