mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
anonym -> lambda: forbid when result in illegal self reference (IDEA-126763)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Replace with lambda" "false"
|
||||
class Test {
|
||||
Runnable runnable = new Runn<caret>able() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println(runnable);
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user