Files
kotlin-fork/compiler/testData/codegen/customScript/captureImplicitReceiverInDefaultValue.kts
Alexander Udalov eeef70b2c8 Tests: remove TargetBackend.JVM_OLD
TargetBackend.JVM is equivalent to it at this point.
2023-07-17 16:55:24 +00:00

12 lines
241 B
Kotlin
Vendored

// TARGET_BACKEND: JVM_IR
// KOTLIN_SCRIPT_DEFINITION: org.jetbrains.kotlin.codegen.TestScriptWithReceivers
// receiver: abracadabra
// expected: rv=cadabra
// KT-55068
class User(var property: String = drop(4))
val rv = User().property