blob: 0da1a641b37cbe903ea6516898c4cedf025259d9 [file] [log] [blame]
# we do not allow array branches in anonymous unions
# TODO: should we support this?
{ 'type': 'One',
'data': { 'name': 'str' } }
{ 'union': 'MyUnion',
'discriminator': {},
'data': { 'one': 'One',
'two': [ 'int' ] } }