diff options
Diffstat (limited to 'examples/03-sum/src/shapes.hob')
| -rw-r--r-- | examples/03-sum/src/shapes.hob | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/03-sum/src/shapes.hob b/examples/03-sum/src/shapes.hob deleted file mode 100644 index 03a727a..0000000 --- a/examples/03-sum/src/shapes.hob +++ /dev/null @@ -1,17 +0,0 @@ -/// A 2D shape. -sum Shape { - variant Rectangle; - variant Triangle; - - field width: Int32; -} - -struct Rectangle { - field width: Int32; - field height: Int32; -} - -struct Triangle { - field width: Int32; - field height: Int32; -} |
