Deprecate PropertyMetadata, use KProperty<*> for delegated properties instead
This commit is contained in:
Vendored
+4
-2
@@ -1,7 +1,9 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class SomeProp() {
|
||||
fun getValue(t: Any, metadata: PropertyMetadataImpl) = 42
|
||||
fun getValue(t: Any, metadata: KProperty<*>) = 42
|
||||
}
|
||||
|
||||
class Some<caret>() {
|
||||
val renderer by SomeProp()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user