b0a6508d4b
For FE 1.0, we just change super qualifier symbol to base class, if it's possible. For FIR, we introduce using of super qualifier symbols for field accesses and repeat FE 1.0 behavior here. #KT-49507 Fixed
21 lines
257 B
Plaintext
Vendored
21 lines
257 B
Plaintext
Vendored
class Derived : Base {
|
|
constructor() /* primary */ {
|
|
super/*Base*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
init {
|
|
<this>.#value = 0
|
|
}
|
|
|
|
fun getValue(): Int {
|
|
return <this>super.#value
|
|
}
|
|
|
|
fun setValue(value: Int) {
|
|
<this>.#value = value
|
|
}
|
|
|
|
}
|