KProperty and ReadOnlyProperty type parameter names #KT-16529
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@ import kotlin.properties.*
|
||||
|
||||
fun f(readonlypr<caret>)
|
||||
|
||||
// EXIST: { itemText: "readOnlyProperty: ReadOnlyProperty", tailText: "<R, T> (kotlin.properties)" }
|
||||
// EXIST: { itemText: "readOnlyProperty: ReadOnlyProperty", tailText: "<T, V> (kotlin.properties)" }
|
||||
// NUMBER: 1
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun f(read<caret>)
|
||||
|
||||
// EXIST: { itemText: "readOnlyProperty: ReadOnlyProperty", tailText: "<R, T> (kotlin.properties)" }
|
||||
// EXIST: { itemText: "readOnlyProperty: ReadOnlyProperty", tailText: "<T, V> (kotlin.properties)" }
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ fun firstFun() {
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 1
|
||||
// EXIST: { lookupString:"KProperty", itemText:"KProperty", tailText:"<R> (kotlin.reflect)" }
|
||||
// EXIST: { lookupString:"KProperty", itemText:"KProperty", tailText:"<V> (kotlin.reflect)" }
|
||||
|
||||
+2
-2
@@ -5,5 +5,5 @@ import kotlin.properties.Delegates
|
||||
var x: Int <caret>by Delegates.notNull()
|
||||
|
||||
// MULTIRESOLVE
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).getValue(R, kotlin.reflect.KProperty<*>)
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).setValue(R, kotlin.reflect.KProperty<*>, T)
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).getValue(T, kotlin.reflect.KProperty<*>)
|
||||
// REF: (in kotlin.properties.ReadWriteProperty).setValue(T, kotlin.reflect.KProperty<*>, V)
|
||||
|
||||
Reference in New Issue
Block a user