KT-4794: Added functionality to KT-4574: Split If. Intention is now offered inside IF keyword
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun doSomething<T>(a: T) {}
|
||||
|
||||
fun foo() {
|
||||
val a = true
|
||||
val b = false
|
||||
val c = true
|
||||
<caret>if (a) {
|
||||
if (b && c) {
|
||||
doSomething("test")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user