8 lines
227 B
JSON
8 lines
227 B
JSON
|
# FIXME: we should reject a nested anonymous union branch
|
||
|
{ 'union': 'Union1',
|
||
|
'discriminator': {},
|
||
|
'data': { 'name': 'str', 'value': 'int' } }
|
||
|
{ 'union': 'Union2',
|
||
|
'discriminator': {},
|
||
|
'data': { 'nested': 'Union1' } }
|