1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
13 lines
220 B
Kotlin
13 lines
220 B
Kotlin
abstract class Your {
|
|
abstract val your: String
|
|
|
|
fun foo() = your
|
|
}
|
|
|
|
val my: String = "O"
|
|
get() = field + object: Your() {
|
|
override val your = "K"
|
|
get() = field
|
|
}.foo()
|
|
|
|
fun box() = my |