Files
kotlin-fork/idea/testData/refactoring/introduceParameter/classMultipleUsagesSingleReplace2.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 = <selection>a + 1</selection>
fun foo() = (a + 1) * 2
}
fun test() {
A(1, "2")
}