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,3 +1,5 @@
import kotlin.reflect.KProperty
fun foo() {
a<caret>
}
@@ -5,7 +7,7 @@ fun foo() {
val a by Delegate()
class Delegate {
fun getValue(t: Any?, p: PropertyMetadata) = 1
fun getValue(t: Any?, p: KProperty<*>) = 1
}
// EXISTS: a.getValue(Any?\, PropertyMetadata)
// EXISTS: a.getValue(Any?\, KProperty<*>)