Files
kotlin-fork/idea/testData/refactoring/extractFunction/controlFlow/outputValues/singleOutputValue.kt
T
2014-06-23 21:10:12 +04:00

11 lines
173 B
Kotlin

// PARAM_TYPES: kotlin.Int
// PARAM_TYPES: kotlin.Int
// SIBLING:
fun foo(a: Int): Int {
var b: Int = 1
<selection>b += a
println(b)</selection>
return b
}