KT-4574 New Intention: Split If - converts if statement containing one or more conjunction operators into two nested if statements

This commit is contained in:
gavinkeusch
2014-03-31 14:09:17 +04:00
committed by Pavel V. Talanov
parent 7c94e8a9af
commit a6a1bb2b7c
33 changed files with 400 additions and 2 deletions
@@ -0,0 +1,8 @@
fun foo() {
val a = true
val b = false
val c = true
if (a && b &<caret>& c) {
println("test")
}
}