1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
15 lines
218 B
Kotlin
15 lines
218 B
Kotlin
open class C
|
|
|
|
object O : C()
|
|
|
|
object K : C()
|
|
|
|
class D(val value: String) {
|
|
operator fun getValue(thisRef: C, property: Any): String = value
|
|
}
|
|
|
|
val O.prop by D("O")
|
|
val K.prop by D("K")
|
|
|
|
fun box() = O.prop + K.prop
|