Support for callable references in smart completion
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import kotlin.reflect.KProperty1
|
||||
|
||||
fun foo(p: KProperty1<String, Int>){}
|
||||
|
||||
fun bar() {
|
||||
foo(String::xT<caret>)
|
||||
}
|
||||
|
||||
val String.xTopLevelIntVal: Int get() = 1
|
||||
val String.xTopLevelStringVal: String get() = "1"
|
||||
val Any.xTopLevelValOnAny: Int get() = 1
|
||||
val Int.xTopLevelValOnInt: Int get() = 1
|
||||
|
||||
// EXIST: { lookupString:"xTopLevelIntVal", itemText:"xTopLevelIntVal", tailText: " for String in <root>", typeText: "Int" }
|
||||
// NOTHING_ELSE
|
||||
Reference in New Issue
Block a user