Files
kotlin-fork/idea/testData/completion/smart/functionReference/1.kt
T
2015-02-10 16:13:50 +03:00

15 lines
260 B
Kotlin

fun foo(p: () -> Unit){}
fun bar() {
foo(<caret>)
}
fun f1(){}
fun f2(i: Int){}
// EXIST: { lookupString:"::f1", itemText:"::f1", tailText:null, typeText:null }
// ABSENT: ::f2
// ABSENT: ::Unit
// ABSENT: ::Nothing
// ABSENT: { lookupString:"object" }