Change Signature: Do not move lambda out of parentheses if it neither wasn't out
before nor corresponds to the last parameter after the refactoring #KT-9763 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun <caret>foo(p2: Int, p1: Int, filter: (Int) -> Boolean, p3: Int = 0){}
|
||||
|
||||
fun bar() {
|
||||
foo(2, 1, { true })
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun <caret>foo(p1: Int, p2: Int, filter: (Int) -> Boolean, p3: Int = 0){}
|
||||
|
||||
fun bar() {
|
||||
foo(1, 2, { true })
|
||||
}
|
||||
Reference in New Issue
Block a user