forbid anonymous -> lambda when conflicting local vars exist (IDEA-93589)

This commit is contained in:
anna
2012-10-31 13:30:58 +01:00
parent 846f6ab1fd
commit ec4df495b5
2 changed files with 28 additions and 0 deletions
@@ -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;
}
} ;
}
};
}