Files
kotlin-fork/idea/testData/refactoring/introduceProperty/kt24615.kt.after
T
2020-03-25 22:19:26 +01:00

12 lines
211 B
Plaintext
Vendored

// EXTRACTION_TARGET: property with getter
open class Base(protected val i: Int)
class Impl(i: Int) : Base(i) {
private val i1: Int
get() = 2 + 3 + i
fun foo(): Int {
return i1
}
}