disable split into decl 7/ assignment for conflicting names (IDEA-173787)

for statement induces another declaration parent where another local variable could have been declared
This commit is contained in:
Anna Kozlova
2017-06-26 18:05:03 +03:00
parent 7082e31910
commit 339c14cd12
2 changed files with 18 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
// "Split into declaration and assignment" "false"
class Test {
{
for (int i<caret>=0; i<10; i++) {
System.out.println();
}
int i = 0;
}
}