Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt.after
T

15 lines
403 B
Plaintext
Vendored

// "Create member function 'setValue'" "true"
import kotlin.reflect.KProperty
class F {
operator 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()
}