1 # We check for no duplicate keys between branch members and base
2 # base's member 'name' clashes with Branch1's
4 'data': [ 'value1', 'value2' ] }
6 'data': { 'enum1': 'TestEnum', '*name': 'str' } }
8 'data': { 'name': 'str' } }
10 'data': { 'value': 'int' } }
11 { 'union': 'TestUnion',
13 'discriminator': 'enum1',
14 'data': { 'value1': 'Branch1',
15 'value2': 'Branch2' } }