Files
kotlin-fork/idea/testData/refactoring/introduceParameter/functionMultipleUsagesSingleReplace.kt.after
T
2015-04-09 13:49:22 +03:00

9 lines
142 B
Plaintext
Vendored

// 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")
}