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

7 lines
163 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 }
}