mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
bring into scope: multiple vars in one declaration should be normalized (IDEA-62848 )
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Bring 'int j' into Scope" "true"
|
||||
class a {
|
||||
void foo() {
|
||||
int j;
|
||||
{
|
||||
int i;
|
||||
j = 10;
|
||||
}
|
||||
System.out.println(<caret>j); // invoke "bring 'int j' into scope" quickfix here
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Bring 'int j' into Scope" "true"
|
||||
class a {
|
||||
void foo() {
|
||||
{
|
||||
int i, j = 10;
|
||||
}
|
||||
System.out.println(<caret>j); // invoke "bring 'int j' into scope" quickfix here
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user