v/vlib/compiler/tests/repl/chained_fields/d.repl
2020-01-20 23:04:26 +01:00

5 lines
133 B
Text

struct A { mut: v int } struct B { a A } struct C { mut: b B } struct D { mut: c C }
mut d := D{} d.c.b = B{}
'OK'
===output===
OK