"Delegates" members in smart completion after "by"

#KT-6231 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-03-25 17:14:52 +03:00
parent ae0d840aab
commit 88bdf88bbb
13 changed files with 95 additions and 16 deletions
@@ -0,0 +1,9 @@
class X
class C {
val property by D<caret>
}
// EXIST: { itemText: "Delegates.notNull", tailText:"() (kotlin.properties)", typeText: "ReadWriteProperty<Any?, T>", attributes:"" }
// EXIST: { itemText: "Delegates.observable", tailText:"(initialValue: T, crossinline onChange: (KProperty<*>, T, T) -> Unit) (kotlin.properties)", typeText: "ReadWriteProperty<Any?, T>", attributes:"" }
// EXIST: { itemText: "Delegates.vetoable", tailText:"(initialValue: T, crossinline onChange: (KProperty<*>, T, T) -> Boolean) (kotlin.properties)", typeText: "ReadWriteProperty<Any?, T>", attributes:"" }