1 # Clash between common member and union variant's variant member
2 # Base's member 'teeth' clashes with TestTypeFish's
5 'data': [ 'animals', 'plants' ] }
7 { 'enum': 'TestAnimals',
8 'data': [ 'fish', 'birds'] }
10 { 'struct': 'TestTypeFish',
11 'data': { 'scales': 'int', 'teeth': 'int' } }
13 { 'struct': 'TestTypeBirds',
14 'data': { 'feathers': 'int' } }
16 { 'union': 'TestTypeAnimals',
17 'base': { 'atype': 'TestAnimals' },
18 'discriminator': 'atype',
19 'data': { 'fish': 'TestTypeFish',
20 'birds': 'TestTypeBirds' } }
22 { 'struct': 'TestTypePlants',
23 'data': { 'integer': 'int' } }
25 { 'union': 'TestUnion',
26 'base': { 'type': 'TestEnum',
28 'discriminator': 'type',
29 'data': { 'animals': 'TestTypeAnimals',
30 'plants': 'TestTypePlants' } }