Files
kotlin-fork/idea/testData/completion/smart/FunctionReference3.kt
T
2014-04-17 14:39:30 +04:00

12 lines
142 B
Kotlin

fun foo(p: () -> Unit)){}
fun foo(p: () -> (() -> Unit)){}
fun bar() {
foo(<caret>)
}
fun f(): () -> Unit {}
// EXIST: ::f
// EXIST: f