8 lines
202 B
JSON
8 lines
202 B
JSON
|
# FIXME: we should reject anonymous union with base type
|
||
|
{ 'type': 'Base',
|
||
|
'data': { 'string': 'str' } }
|
||
|
{ 'union': 'MyUnion',
|
||
|
'base': 'Base',
|
||
|
'discriminator': {},
|
||
|
'data': { 'number': 'int' } }
|