]> Git Repo - qemu.git/blobdiff - tests/qapi-schema/flat-union-optional-discriminator.json
qemu-iotests: refine common.config
[qemu.git] / tests / qapi-schema / flat-union-optional-discriminator.json
index ece0d31fb3a7b16489f91cbcba2607e09be3cfaf..08a8f7ef8bcbe76e566387ab0a0cab5136d4efed 100644 (file)
@@ -1,8 +1,8 @@
-# FIXME: we should require the discriminator to be non-optional
+# we require the discriminator to be non-optional
 { 'enum': 'Enum', 'data': [ 'one', 'two' ] }
-{ 'type': 'Base',
+{ 'struct': 'Base',
   'data': { '*switch': 'Enum' } }
-{ 'type': 'Branch', 'data': { 'name': 'str' } }
+{ 'struct': 'Branch', 'data': { 'name': 'str' } }
 { 'union': 'MyUnion',
   'base': 'Base',
   'discriminator': '*switch',
This page took 0.033334 seconds and 4 git commands to generate.