Files
kotlin-fork/idea/testData/refactoring/extractFunction/initializers/properties/memberPropertyWithLambda.kt.after
T
2014-07-11 19:13:17 +04:00

8 lines
147 B
Plaintext

// PARAM_TYPES: kotlin.Int
class A(val a: Int, b: Int) {
val foo = { i(b) - 1 }.invoke()
fun i(b: Int): Int {
return a + b
}
}