mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
tests/qapi-schema: Drop TODO comment on simple unions
Simple unions don't need more features, they need to die. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-6-armbru@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
27ae2f0787
commit
1444989a3a
@ -1,2 +1,2 @@
|
||||
flat-union-no-base.json: In union 'TestUnion':
|
||||
flat-union-no-base.json:9: 'discriminator' requires 'base'
|
||||
flat-union-no-base.json:8: 'discriminator' requires 'base'
|
||||
|
@ -1,5 +1,4 @@
|
||||
# flat unions require a base
|
||||
# TODO: simple unions should be able to use an enum discriminator
|
||||
{ 'struct': 'TestTypeA',
|
||||
'data': { 'string': 'str' } }
|
||||
{ 'struct': 'TestTypeB',
|
||||
|
Loading…
Reference in New Issue
Block a user