KT-2242 formatting problems: function literal passed outside the parentheses - fix test data in affected tests
#KT-2242 Fixed
This commit is contained in:
@@ -11,7 +11,7 @@ class A {
|
||||
}
|
||||
fun apply(x: (A) -> Int) = 2
|
||||
fun test() {
|
||||
val function: (A) -> Int = {it.foo()}
|
||||
val function: (A) -> Int = { it.foo() }
|
||||
apply(function)
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user