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

8 lines
135 B
Kotlin
Vendored

fun foo(a: Int, s: String): Int {
val t = (a + 1) * 2
return <selection>a + 1</selection> - t
}
fun test() {
foo(1, "2")
}