Remove PropertyMetadata from project and bytecode, migrate code to KProperty
This commit is contained in:
+3
-1
@@ -1,7 +1,9 @@
|
||||
// "Rename to 'getValue'" "true"
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class CustomDelegate
|
||||
|
||||
operator fun CustomDelegate.getValue(thisRef: Any?, prop: PropertyMetadata): String = ""
|
||||
operator fun CustomDelegate.getValue(thisRef: Any?, prop: KProperty<*>): String = ""
|
||||
|
||||
class Example {
|
||||
val a: String by CustomDelegate()
|
||||
|
||||
Reference in New Issue
Block a user