Files
kotlin-fork/idea/testData/intentions/destructuringInLambda/visible.kt
T

11 lines
256 B
Kotlin
Vendored

fun foo(s: String) {}
data class Example(private val str: String) {
fun doWithExample(block : (Example) -> Unit) = block(Example("hello"))
fun runExample() {
doWithExample { example<caret> ->
foo(example.str)
}
}
}