Remove PropertyMetadata from project and bytecode, migrate code to KProperty
This commit is contained in:
+5
-5
@@ -25,11 +25,11 @@ class CustomDelegate3 {
|
||||
operator fun set(thisRef: Any?, prop: KProperty<*>, value: String) {}
|
||||
}
|
||||
|
||||
operator fun OkDelegate.get(thisRef: Any?, prop: <!DEPRECATION!>PropertyMetadata<!>): Int = 4
|
||||
operator fun OkDelegate.set(thisRef: Any?, prop: <!DEPRECATION!>PropertyMetadata<!>, value: Int) {}
|
||||
operator fun OkDelegate.get(thisRef: Any?, prop: KProperty<*>): Int = 4
|
||||
operator fun OkDelegate.set(thisRef: Any?, prop: KProperty<*>, value: Int) {}
|
||||
|
||||
operator fun CustomDelegate3.getValue(thisRef: Any?, prop: <!DEPRECATION!>PropertyMetadata<!>): Int = 4
|
||||
operator fun CustomDelegate3.setValue(thisRef: Any?, prop: <!DEPRECATION!>PropertyMetadata<!>, value: Int) {}
|
||||
operator fun CustomDelegate3.getValue(thisRef: Any?, prop: KProperty<*>): Int = 4
|
||||
operator fun CustomDelegate3.setValue(thisRef: Any?, prop: KProperty<*>, value: Int) {}
|
||||
|
||||
class Example {
|
||||
|
||||
@@ -50,4 +50,4 @@ class Example {
|
||||
fun requireString(s: String) {}
|
||||
fun requireInt(n: Int) {}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user