Create from Usage: Support accessors for local delegated properties
#KT-19730 Fixed
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
// "Create extension function 'String.getValue'" "true"
|
||||
fun x(parameters: String) {
|
||||
val n by parameters
|
||||
}
|
||||
|
||||
private operator fun String.getValue(nothing: Nothing?, property: KProperty<*>): Any {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user