summaryrefslogtreecommitdiff
path: root/examples/10-transient-0/src/data.hob
diff options
context:
space:
mode:
Diffstat (limited to 'examples/10-transient-0/src/data.hob')
-rw-r--r--examples/10-transient-0/src/data.hob13
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 {