Update compiler tests to use KProperty instead of PropertyMetadata
This commit is contained in:
+3
-1
@@ -1,8 +1,10 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class Delegate {
|
||||
}
|
||||
|
||||
class A {
|
||||
fun Delegate.getValue(t: Any?, p: PropertyMetadata): Int = 1
|
||||
fun Delegate.getValue(t: Any?, p: KProperty<*>): Int = 1
|
||||
val prop: Int by Delegate()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user