"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
@@ -0,0 +1,8 @@
fun foo() {
for (i in 1..10) {
<caret>if (i <= 1) continue
bar()
}
}
fun bar(){}