"Split if" intention - renamed tests
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun doSomething<T>(a: T) {}
|
||||
|
||||
fun foo() {
|
||||
fun test(): Boolean { return false }
|
||||
val a = true
|
||||
if (test() <caret>&& a) {
|
||||
doSomething("test")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user