Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt.after
T
2015-11-02 18:23:42 +03:00

15 lines
394 B
Plaintext
Vendored

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