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
@@ -1,5 +1,7 @@
import kotlin.reflect.KProperty
class MyProperty {
fun getValue(thisRef: Any?, desc: PropertyMetadata) = ":)"
fun getValue(thisRef: Any?, desc: KProperty<*>) = ":)"
}
val Any.ext by MyProperty()