"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,7 @@
fun foo() {
val x = 2
<caret>if (x <= 1) return
bar()
}
fun bar(){}