Files
kotlin-fork/idea/idea-completion/testData/handlers/basic/highOrderFunctions/OptionalParameters1.kt
T
Valentin Kipyatkov 7ef9a9d6d4 Better presentation
2015-08-28 16:22:47 +03:00

10 lines
187 B
Kotlin
Vendored

fun xfoo(option1: String = "", option2: Int = 1, p: () -> Unit){}
fun test(param: () -> Unit) {
xfoo<caret>
}
// ELEMENT: xfoo
// TAIL_TEXT: " {...} (..., p: () -> Unit) (<root>)"