aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-03-09 20:04:43 -0500
committerDave Gauer <dave@ratfactor.com>2021-03-09 20:04:43 -0500
commit72ebf3e4606d7c56a92eca112d4227d0b66d2095 (patch)
tree7ce421be8c2cf4eba10c9ba8151188df89585bd1 /patches
parent0168afd25005b4a3555d2212d2a099cbad344e2b (diff)
downloadziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.tar.gz
ziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.tar.bz2
ziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.tar.xz
ziglings-72ebf3e4606d7c56a92eca112d4227d0b66d2095.zip
add ex 55 unions
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/55_unions.patch6
1 files changed, 6 insertions, 0 deletions
diff --git a/patches/patches/55_unions.patch b/patches/patches/55_unions.patch
new file mode 100644
index 0000000..c362f20
--- /dev/null
+++ b/patches/patches/55_unions.patch
@@ -0,0 +1,6 @@
+62,63c62,63
+< printInsect(ant, AntOrBee.c);
+< printInsect(bee, AntOrBee.c);
+---
+> printInsect(ant, AntOrBee.a);
+> printInsect(bee, AntOrBee.b);