Files
2024-02-16 10:19:38 +00:00

35 lines
476 B
Kotlin
Vendored

class A {
val a: Int
field = 1
get
val b: Int
field = <this>.<get-a>().plus(other = 2)
get
val c: Int
field = 1
get
val d: Int
field = <this>.<get-c>().plus(other = 2)
get
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun rest() {
val aI: Int = A().<get-a>().plus(other = 10)
val bI: Int = A().<get-b>().plus(other = 20)
}
}
fun test() {
val bA: Int = A().<get-b>().plus(other = 20)
}