15 lines
403 B
Plaintext
Vendored
15 lines
403 B
Plaintext
Vendored
// "Create member function 'getValue'" "true"
|
|
import kotlin.reflect.KProperty
|
|
|
|
class F {
|
|
operator fun setValue(x: X, property: KProperty<*>, i: Int) { }
|
|
|
|
operator fun getValue(x: X, property: KProperty<*>): Int {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|
|
|
|
class X {
|
|
var f: Int by F()
|
|
}
|