"Invert if condition" intention works better for non-symmetric if's

#KT-5009 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-05-12 22:25:07 +03:00
parent 181af17315
commit 279b406bca
34 changed files with 512 additions and 21 deletions
@@ -3,9 +3,7 @@ fun main() {
val list = 1..4
for (x in list) {
if (x != 2) {
} else {
list
}
if (x != 2) continue
list
}
}