Eric Blake <[email protected]> writes: > The next patch will quit special-casing "'union':'Foo', > 'discriminator':{}" and instead use "'alternate':'Foo'". > > Separating docs from implementation makes it easier to focus > on wording without holding up code. In particular, making > alternate a separate type makes for a nice type hierarchy: > > /-------- meta-type ------\ > / | \ > simple types alternate complex types > | | | | > built-in enum type(struct) union > | \ / / \ > numeric string simple flat > > A later patch will then clean up 'type' vs. 'struct' > confusion. > > Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
