e6f4d6e6fa
^KT-65406
61 lines
746 B
Kotlin
Vendored
61 lines
746 B
Kotlin
Vendored
abstract class A {
|
|
val x: B
|
|
field = B()
|
|
get
|
|
|
|
var y: Int
|
|
field = 0
|
|
get
|
|
set
|
|
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class B {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
operator fun plusAssign(x: Int) {
|
|
}
|
|
|
|
}
|
|
|
|
class Test1 : A {
|
|
constructor() {
|
|
super/*A*/()
|
|
/* <init>() */
|
|
|
|
{ // BLOCK
|
|
val tmp_0: Test1 = <this>
|
|
tmp_0.<get-x>().plusAssign(x = 42)
|
|
}
|
|
{ // BLOCK
|
|
val tmp_1: Test1 = <this>
|
|
tmp_1.<set-y>(<set-?> = tmp_1.<get-y>().plus(other = 42))
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
class Test2 : J {
|
|
init {
|
|
<this>(super<Test2>).#field = 42
|
|
}
|
|
|
|
constructor() /* primary */ {
|
|
super/*J*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|