Smart completion: lambda items

This commit is contained in:
Valentin Kipyatkov
2014-04-15 18:12:32 +04:00
parent 1ba4c656a5
commit f682dc36e0
31 changed files with 289 additions and 70 deletions
@@ -0,0 +1,14 @@
fun foo(p: () -> Unit){}
fun bar() {
foo(<caret>)
}
fun f1(){}
fun f2(i: Int){}
// EXIST: { lookupString:"::f1", itemText:"::f1", tailText:"", typeText:"" }
// ABSENT: ::f2
// ABSENT: ::Unit
// ABSENT: ::Nothing
// ABSENT: { lookupString:"object" }