class A {
private var x: Int
init(x: Int) {
self.x = x
}
func m(other: A) {
print(other.x)
}
}
let foo = A(x: 1)
let bar = A(x: 2)
foo.m(other: bar)
Y2xhc3MgQSB7CiAgICBwcml2YXRlIHZhciB4OiBJbnQKICAgIGluaXQoeDogSW50KSB7CiAgICAgICAgc2VsZi54ID0geAogICAgfQogICAgZnVuYyBtKG90aGVyOiBBKSB7CiAgICAgICAgcHJpbnQob3RoZXIueCkKICAgIH0gIAp9CgpsZXQgZm9vID0gQSh4OiAxKQpsZXQgYmFyID0gQSh4OiAyKQpmb28ubShvdGhlcjogYmFyKQ==