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

8 lines
194 B
Kotlin
Vendored

// EXTRACTION_TARGET: property with initializer
open class Base(protected val i: Int)
class Impl(z: Int) : Base(z) {
fun foo(): Int {
return <selection>2 + 3 + i</selection>
}
}