struct B { b: i32 } struct A { a: B } let main() = { -- var s = A{a=B{b = 2}} -- s.a.b = 3 -- return s.a.b var a = 2 a = 3 return a }