Update IDE tests to use KProperty instead of PropertyMetadata

This commit is contained in:
Alexander Udalov
2015-10-13 16:47:47 +03:00
parent 51bf68ce27
commit 6a965c9a06
31 changed files with 124 additions and 77 deletions
+5 -3
View File
@@ -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>