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

6 lines
152 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 }
}