Files
kotlin-fork/idea/idea-completion/testData/smart/functionLiterals/5.kt
T
Valentin Kipyatkov b5dd2cc540 Completion of lambda parameters
Also changed policy for sorting of smart completion items in basic completion

 #KT-16800 Fixed
 #KT-12002 Fixed
2017-03-20 19:08:02 +03:00

11 lines
155 B
Kotlin
Vendored

fun foo(p: String.(Int) -> Unit){}
fun bar() {
foo(<caret>)
}
// WITH_ORDER
// EXIST: "{...}"
// EXIST: "{ i -> ... }"
// EXIST: "{ i: Int -> ... }"