Files
kotlin/idea/testData/refactoring/extractFunction/basic/noConflictWithInnerFunction.kt
2014-05-12 13:03:03 +04:00

8 lines
148 B
Kotlin

fun foo() {
val a = 1
// NEXT_SIBLING
if (<selection>a > 0</selection>) {
fun b(): Int { return 0 }
println(b())
}
}