Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/delegateAccessors/varMissingSet.kt.after
T
Alexey Sedunov 3ba776fffa Code Insight: Format generated declarations
#KT-11176 Fixed
(cherry picked from commit 3641ad6)
2016-07-20 15:39:05 +03:00

14 lines
371 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) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
class X {
var f: Int by F()
}