1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
17 lines
263 B
Kotlin
17 lines
263 B
Kotlin
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"
|
|
}
|