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