Files
kotlin-fork/idea/testData/refactoring/extractFunction/controlFlow/initializer/propertyWithInitializerAndExtraVars.kt
T

10 lines
141 B
Kotlin

// SIBLING:
fun foo() {
<selection>val a: Int
val b = 10
val c: Int
</selection>
a = 1
c = 2
println(a + b + c)
}