Introduce Parameter: Duplicate search & replace

This commit is contained in:
Alexey Sedunov
2015-04-07 18:43:20 +03:00
parent 3bb86a63cc
commit 13776f5bbd
27 changed files with 281 additions and 34 deletions
@@ -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")
}