Update compiler tests to use KProperty instead of PropertyMetadata
This commit is contained in:
+4
-2
@@ -1,5 +1,7 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class TestDelegate() {
|
||||
fun getValue(thisRef: Any?, desc: PropertyMetadata): Int {
|
||||
fun getValue(thisRef: Any?, desc: KProperty<*>): Int {
|
||||
return 10
|
||||
}
|
||||
}
|
||||
@@ -24,4 +26,4 @@ interface Test {
|
||||
|
||||
// TESTED_OBJECT_KIND: property
|
||||
// TESTED_OBJECTS: Test, prop$delegate
|
||||
// ABSENT: TRUE
|
||||
// ABSENT: TRUE
|
||||
|
||||
Reference in New Issue
Block a user