Create From Usage: Quick-fix for value parameters
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Create parameter 'foo'" "true"
|
||||
// ACTION: Create local variable 'foo'
|
||||
|
||||
fun test(n: Int,
|
||||
foo: Int) {
|
||||
val f: (Int, Int) -> Int = { (a, b) -> foo }
|
||||
}
|
||||
Reference in New Issue
Block a user