Update compiler tests to use KProperty instead of PropertyMetadata
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class Delegate {
|
||||
fun getValue(_this: Nothing?, p: PropertyMetadata): Int = 0
|
||||
fun getValue(_this: Nothing?, p: KProperty<*>): Int = 0
|
||||
}
|
||||
|
||||
val a = Delegate()
|
||||
|
||||
val b by a
|
||||
val b by a
|
||||
|
||||
Reference in New Issue
Block a user