Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/parameter/afterInLambdaWithParams.kt
T

6 lines
154 B
Kotlin

// "Create parameter 'foo'" "true"
// ACTION: Create local variable 'foo'
fun test(n: Int, foo: Int) {
val f: (Int, Int) -> Int = { (a, b) -> foo }
}