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

19 lines
252 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
package test
val A.a: String
get() {
class B {
val b : String
get() = this@a.s
}
return B().b
}
class A {
val s : String = "OK"
}
fun box() : String {
return A().a
}