Files
kotlin-fork/compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt
T
2020-01-29 17:00:00 +01:00

12 lines
257 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// 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()