blob: d5812bf7adb6080b5ce2d368901c21c8e1fecace (
plain)
1
2
3
4
5
6
7
|
# FIXME: we should reject a nested anonymous union branch
{ 'union': 'Union1',
'discriminator': {},
'data': { 'name': 'str', 'value': 'int' } }
{ 'union': 'Union2',
'discriminator': {},
'data': { 'nested': 'Union1' } }
|