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

10 lines
145 B
Kotlin
Vendored

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