mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
11 lines
231 B
Kotlin
Vendored
11 lines
231 B
Kotlin
Vendored
// LOCAL_VARIABLE_TABLE
|
|
|
|
fun String.foo(count: Int) {
|
|
val x: Boolean = false
|
|
|
|
block {
|
|
this@foo + this@block.toString() + x.toString() + count.toString()
|
|
}
|
|
}
|
|
|
|
inline fun block(block: Long.() -> Unit) = 5L.block() |