mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
forbid anonymous -> lambda when conflicting local vars exist (IDEA-93589)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Replace with lambda" "false"
|
||||
class Foo11 {
|
||||
Runnable runnable = new Runnable() {
|
||||
public void run() {
|
||||
int x = 5;
|
||||
new Runn<caret>able() {
|
||||
public void run () {
|
||||
int x = 10;
|
||||
}
|
||||
} ;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user