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

12 lines
241 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// LOCAL_VARIABLE_TABLE
fun String.foo(count: Int) {
val x = false
block {
this@foo + this@block.toString() + x.toString() + count.toString()
}
}
fun block(block: Long.() -> Unit) = 5L.block()