Files
kotlin-fork/idea/testData/intentions/convertLambdaToReference/memberExplicit.kt
T

10 lines
151 B
Kotlin
Vendored

// IS_APPLICABLE: true
class Owner(val z: Int) {
fun foo(y: Int) = y + z
}
val owner = Owner(42)
val x = { arg: Int <caret> -> owner.foo(arg) }