6 lines
154 B
Kotlin
6 lines
154 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 }
|
|
} |