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