Files
kotlin-fork/idea/testData/completion/handlers/InsertFunctionWithSingleParameterWithBrace.kt
T
Nikolay Krasko 0c49b91098 Complete functions with single parameter on typing '{'
For KT-4049 When completing a function that takes a lambda and immediately typing '{', swallow the '{'
 #KT-4049 Fixed
2013-10-16 18:56:51 +04:00

5 lines
63 B
Kotlin

fun some(f: () -> Unit) { f() }
fun test() {
some<caret>
}