Files
kotlin-fork/idea/testData/refactoring/changeSignature/DefaultAfterLambdaBefore.kt
T
Alexey Sedunov 2476393754 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
2015-11-10 16:47:42 +03:00

5 lines
112 B
Kotlin
Vendored

fun <caret>foo(p1: Int, p2: Int, filter: (Int) -> Boolean, p3: Int = 0){}
fun bar() {
foo(1, 2, { true })
}