KT-2242 Fix {<space>(a: Int) -> a } case

#KT-2242 Fixed
This commit is contained in:
Nikolay Krasko
2012-09-17 11:27:38 +04:00
parent 7b066faa9f
commit 72fb2c0d02
4 changed files with 15 additions and 2 deletions
@@ -2,5 +2,7 @@ fun test(some: (Int) -> Int) {
}
fun foo() = test() { it }
val function = test { (a: Int) -> a }
val function1 = test {a : Int -> a}
// SET_TRUE: INSERT_WHITESPACES_IN_SIMPLE_ONE_LINE_METHOD