Support for callable references in smart completion
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
fun foo(p: () -> Unit){}
|
||||
|
||||
fun bar() {
|
||||
foo(::xf<caret>)
|
||||
}
|
||||
|
||||
fun xf1(){}
|
||||
fun xf1(s: String){}
|
||||
fun xf2(i: Int){}
|
||||
|
||||
// EXIST: { lookupString:"xf1", itemText:"xf1", tailText: "() (<root>)", typeText: "Unit" }
|
||||
// NOTHING_ELSE
|
||||
Reference in New Issue
Block a user