mirror of https://github.com/xemu-project/xemu.git
15 lines
331 B
JSON
15 lines
331 B
JSON
![]() |
# FIXME: we should reject simple unions with a base
|
||
|
{ 'type': 'TestTypeA',
|
||
|
'data': { 'string': 'str' } }
|
||
|
|
||
|
{ 'type': 'TestTypeB',
|
||
|
'data': { 'integer': 'int' } }
|
||
|
|
||
|
{ 'type': 'Base',
|
||
|
'data': { 'string': 'str' } }
|
||
|
|
||
|
{ 'union': 'TestUnion',
|
||
|
'base': 'Base',
|
||
|
'data': { 'value1': 'TestTypeA',
|
||
|
'value2': 'TestTypeB' } }
|