Introduce Parameter: Duplicate search & replace
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// SINGLE_REPLACE
|
||||
// TARGET:
|
||||
class A(val a: Int, s: String, i: Int = a + 1) {
|
||||
val x = i
|
||||
|
||||
fun foo() = (a + 1) * 2
|
||||
}
|
||||
|
||||
fun test() {
|
||||
A(1, "2")
|
||||
}
|
||||
Reference in New Issue
Block a user