mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce variable: remove reference to created variable if declaration was inserted inside loop body (IDEA-146842)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Foo {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Runnable r = () -> {
|
||||
String s = args.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Runnable r = () -> <selection>args.toString()</selection>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user