struct A cue init(i as int) .init .i = i pro i from var as int class P def main a = A() assert a.i == 0 a = A(5) assert a.i == 5