IDEA-152224 Unwrap if should check if there are conflicting variables

This commit is contained in:
peter
2016-04-19 14:00:30 +02:00
parent 9677b64f00
commit a4aa1f2bd7
5 changed files with 65 additions and 2 deletions
@@ -0,0 +1,9 @@
// "Unwrap 'if' statement" "true"
class X {
void f() {
<caret>{
int i = 0;
}
int i = 0;
}
}
@@ -0,0 +1,9 @@
// "Unwrap 'if' statement" "true"
class X {
void f() {
if (tru<caret>e) {
int i = 0;
}
int i = 0;
}
}