d61158a176
#KT-30601 Fixed #KT-20570 Fixed
15 lines
208 B
Kotlin
Vendored
15 lines
208 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
data class A(var x: Int)
|
|
|
|
fun convert(f: (A) -> Unit) {}
|
|
|
|
fun test() {
|
|
convert <caret>{
|
|
val x = it.x
|
|
|
|
run {
|
|
val x = 1
|
|
val z = it.x
|
|
}
|
|
}
|
|
} |