Rename: Use RenameKotlinParameterProcessor for constructor/lambda parameters
#KT-13253 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
fun foo(f: (Int, Int) -> Int) = f(1, 2)
|
||||
|
||||
fun test() {
|
||||
foo { /*rename*/a, b -> a + b }
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "test.kt",
|
||||
"newName": "b",
|
||||
"withRuntime": "true",
|
||||
"hint": "Parameter 'b' is already declared in lambda"
|
||||
}
|
||||
Reference in New Issue
Block a user