Files
kotlin-fork/compiler/testData/codegen/bytecodeText/fieldsForCapturedValues/extensionLambdaExtensionReceiver.kt
T

22 lines
373 B
Kotlin
Vendored

class Receiver {
fun foo() {}
}
fun useExtensionLambda(lambda: Receiver.() -> Unit) {
}
fun test() {
useExtensionLambda {
class NamedLocal {
fun run() {
foo()
}
}
}
}
// JVM_TEMPLATES
// 1 final synthetic LReceiver; \$this_useExtensionLambda
// JVM_IR_TEMPLATES
// 1 final synthetic LReceiver; \$this