Files
kotlin-fork/idea/idea-completion/testData/smart/functionLiterals/OutsideCallParenthesisAndVararg2.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

9 lines
218 B
Kotlin
Vendored

fun foo(vararg args: Int, handler: (String, Char) -> Unit){}
fun bar(handler: (String, Char) -> Unit) {
foo(1, 2) <caret>
}
// EXIST: "{ s, c -> ... }"
// EXIST: "{ s: String, c: Char -> ... }"
// ABSENT: handler