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
+3 -2
View File
@@ -1,5 +1,6 @@
import pack.bar
import pack.oldFun2 // should not be removed for non-deprecated overload used
import kotlin.reflect.KProperty
class A private constructor()
@@ -45,8 +46,8 @@ class Foo {
}
class CustomDelegate {
operator fun getValue(thisRef: Any?, prop: PropertyMetadata): String = ""
operator fun setValue(thisRef: Any?, prop: PropertyMetadata, value: String) {}
operator fun getValue(thisRef: Any?, prop: KProperty<*>): String = ""
operator fun setValue(thisRef: Any?, prop: KProperty<*>, value: String) {}
}
class B {