Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/parameter/beforeInLambdaWithParams.kt
T
2015-04-07 13:08:53 +03:00

6 lines
149 B
Kotlin

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