Files
kotlin-fork/idea/idea-completion/testData/smart/callableReference/NoQualifier2.kt
T
2015-10-03 10:40:54 +03:00

15 lines
198 B
Kotlin
Vendored

fun foo(p: (Int) -> Unit){}
fun bar() {
foo(<caret>)
}
fun f(){}
fun f(i: Int){}
// currently not supported for generic funcitons
fun<T> genericF(t: T){}
// EXIST: ::f
// ABSENT: ::genericF