diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-24 14:56:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-24 14:56:52 +0100 |
| commit | d9374240857b256f66e9d3f84e1bf4747761ed1f (patch) | |
| tree | 6d09858d0a1b47800e4fb7020ac92247218577dc /examples/10-transient-0/src | |
| parent | 726791a4d40ffdf940c5882e2700e60dff594de3 (diff) | |
Replace OuterStruct with StructWithStruct
Diffstat (limited to 'examples/10-transient-0/src')
| -rw-r--r-- | examples/10-transient-0/src/data.hob | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/examples/10-transient-0/src/data.hob b/examples/10-transient-0/src/data.hob index e1d7290..5f82992 100644 --- a/examples/10-transient-0/src/data.hob +++ b/examples/10-transient-0/src/data.hob @@ -18,24 +18,19 @@ struct StructWithString { field b: String; } -struct OuterStruct { - field inner: InnerStruct; +struct StructWithStruct { + field inner: StructWithInt32; field c: Int32; } -struct InnerStruct { - field a: Int32; - field b: Int32; -} - struct StructWithList { field a: List[Int64]; - field b: List[InnerStruct]; + field b: List[StructWithInt32]; } struct StructWithOption { field a: Option[Int64]; - field b: Option[InnerStruct]; + field b: Option[StructWithInt32]; } enum EnumWithVariants { |
