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

18 lines
293 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
public abstract class Foo {
var isOpen = true
private set
}
public class Bar: Foo() {
inner class Baz {
fun call() {
val s = this@Bar
s.isOpen
}
}
}
fun box(): String {
Bar().Baz()
return "OK"
}