summaryrefslogtreecommitdiff
path: root/examples/02-sum/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/02-sum/src')
-rw-r--r--examples/02-sum/src/shapes.hob2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/02-sum/src/shapes.hob b/examples/02-sum/src/shapes.hob
index d5042e5..03a727a 100644
--- a/examples/02-sum/src/shapes.hob
+++ b/examples/02-sum/src/shapes.hob
@@ -2,6 +2,8 @@
sum Shape {
variant Rectangle;
variant Triangle;
+
+ field width: Int32;
}
struct Rectangle {