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

11 lines
163 B
Kotlin
Vendored

// SINGLE_REPLACE
// TARGET:
class A(val a: Int, s: String) {
val x = a + 1
fun foo() = (<selection>a + 1</selection>) * 2
}
fun test() {
A(1, "2")
}