Files
kotlin-fork/idea/testData/refactoring/extractFunction/parameters/extractThis/implicitThisInMember.kt
T
2014-06-23 21:10:12 +04:00

19 lines
291 B
Kotlin

// PARAM_TYPES: A
// PARAM_TYPES: A.B
public open class Z {
val z: Int = 0
}
// SIBLING:
public class A(): Z() {
var a: Int = 1
public inner class B(): Z() {
var b: Int = 1
fun foo(): Int {
return <selection>a + b + z</selection>
}
}
}