blob: 08f3cde565b3211b854d987a54fa9b0165972f5f [file]
class TestInitValFromParameter {
val x: Int
field = x
get
constructor(x: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
class TestInitValInClass {
val x: Int
field = 0
get
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
class TestInitValInInitBlock {
val x: Int
get
init {
<this>.#x = 0
}
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}