Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/delegateAccessors/afterVarMissingSet.kt
T
2014-10-22 18:42:54 +04:00

13 lines
365 B
Kotlin

// "Create function 'set' from usage" "true"
class F {
fun get(x: X, propertyMetadata: PropertyMetadata): Int = 1
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()
}