e6f4d6e6fa
^KT-65406
35 lines
476 B
Kotlin
Vendored
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)
|
|
}
|
|
|