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

10 lines
155 B
Kotlin
Vendored

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