blob: 18e9087ccc9240ddb29a339052327cff0ad3c5d1 [file]
class Ref {
var x: Int
field = x
get
set
constructor(x: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
fun test1() {
var x: Int = 0
x = 1
x = x.plus(other = 1)
}
fun test2(r: Ref) {
r.<set-x>(<set-?> = 0)
}