Update IDE tests to use KProperty instead of PropertyMetadata
This commit is contained in:
+5
-3
@@ -1,17 +1,19 @@
|
||||
// NO_ERRORS_DUMP
|
||||
package a
|
||||
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
interface T
|
||||
|
||||
fun T.getValue(thisRef: B, desc: PropertyMetadata): Int {
|
||||
fun T.getValue(thisRef: B, desc: KProperty<*>): Int {
|
||||
return 3
|
||||
}
|
||||
|
||||
fun T.setValue(thisRef: B, desc: PropertyMetadata, value: Int) {
|
||||
fun T.setValue(thisRef: B, desc: KProperty<*>, value: Int) {
|
||||
}
|
||||
|
||||
class A(): T
|
||||
|
||||
<selection>class B {
|
||||
var v by A()
|
||||
}</selection>
|
||||
}</selection>
|
||||
|
||||
Reference in New Issue
Block a user