16 lines
514 B
Kotlin
16 lines
514 B
Kotlin
// "Create function 'get', function 'set'" "true"
|
|
class F {
|
|
fun get(x: X, propertyMetadata: PropertyMetadata): Int {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
fun set(x: X, propertyMetadata: PropertyMetadata, i: Int) {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
}
|
|
|
|
class X {
|
|
var f: Int by F()
|
|
}
|