14 lines
233 B
Kotlin
Vendored
14 lines
233 B
Kotlin
Vendored
// ISSUE: KT-57880
|
|
|
|
fun outerLambda(action: String.() -> Unit) {}
|
|
var lambda: Int.() -> Unit = {}
|
|
fun consume(arg: String) {}
|
|
|
|
fun main() {
|
|
outerLambda {
|
|
lambda = {
|
|
consume(this@outerLambda)
|
|
}
|
|
}
|
|
}
|