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