Files
kotlin-fork/idea/idea-completion/testData/handlers/basic/highOrderFunctions/OptionalParameters3.kt
T
2016-06-20 16:19:02 +03:00

10 lines
135 B
Kotlin
Vendored

fun xfoo(p: () -> Unit = {}){}
fun test() {
xfo<caret>
}
// ELEMENT: xfoo
// TAIL_TEXT: " {...} (p: () -> Unit = ...) (<root>)"