Better implementation of "Move lambda outside parenthesis"
This commit is contained in:
@@ -3,7 +3,7 @@ fun bar(a: Int, b: Int, f: () -> Unit) {}
|
||||
fun foo(a: Int, b: Int) = 2
|
||||
|
||||
fun test() {
|
||||
bar(1, 2) {
|
||||
bar(1, 2 /* , , */) {
|
||||
val a = foo(1, 2)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user