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:
committed by
Pavel V. Talanov
parent
7c94e8a9af
commit
a6a1bb2b7c
@@ -0,0 +1,9 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun foo() {
|
||||
val a = true
|
||||
val b = false
|
||||
fun test(a: Boolean, b: Boolean): Boolean { return false }
|
||||
if (test(a &<caret>& b)) {
|
||||
println("test")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user