Files
kotlin-fork/compiler/testData/codegen/box/delegatedProperty/local/kt13557.kt
T
2019-11-19 11:00:09 +03:00

17 lines
267 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
//WITH_REFLECT
import kotlin.properties.Delegates
fun box(): String {
var foo: String by Delegates.notNull();
object {
fun baz() {
foo = "OK"
}
}.baz()
return foo
}