Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/parameter/beforeInLambdaWithIt.kt
T
2014-10-03 20:18:39 +04:00

6 lines
136 B
Kotlin

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