mirror of
https://github.com/xemu-project/xemu.git
synced 2025-01-09 13:30:19 +00:00
10 lines
268 B
JSON
10 lines
268 B
JSON
|
# FIXME: we should reject anonymous unions with multiple object branches
|
||
|
{ 'type': 'One',
|
||
|
'data': { 'name': 'str' } }
|
||
|
{ 'type': 'Two',
|
||
|
'data': { 'value': 'int' } }
|
||
|
{ 'union': 'MyUnion',
|
||
|
'discriminator': {},
|
||
|
'data': { 'one': 'One',
|
||
|
'two': 'Two' } }
|