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

9 lines
174 B
Kotlin

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