diff options
| author | Markus Armbruster | 2021-03-23 10:40:00 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2021-03-23 21:38:39 +0100 |
| commit | 5bd18d98cd88e2df1e1e274546a06ebe7fdd5eec (patch) | |
| tree | 47115ffbe60d16b925484ff568720b90c54813fd /tests/qapi-schema/flat-union-inline-invalid-dict.json | |
| parent | tests/qapi-schema: Drop redundant flat-union-inline test (diff) | |
| download | qemu-5bd18d98cd88e2df1e1e274546a06ebe7fdd5eec.tar.gz qemu-5bd18d98cd88e2df1e1e274546a06ebe7fdd5eec.tar.xz qemu-5bd18d98cd88e2df1e1e274546a06ebe7fdd5eec.zip | |
tests/qapi-schema: Rework comments on longhand member definitions
A few old comments talk about "desired future use of defaults" and
"anonymous inline branch types". Kind of misleading since commit
87adbbffd4 "qapi: add a dictionary form for TYPE" added longhand
member definitions. Talk about that instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210323094025.3569441-4-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-inline-invalid-dict.json')
| -rw-r--r-- | tests/qapi-schema/flat-union-inline-invalid-dict.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qapi-schema/flat-union-inline-invalid-dict.json b/tests/qapi-schema/flat-union-inline-invalid-dict.json index 62c7cda617..1779712795 100644 --- a/tests/qapi-schema/flat-union-inline-invalid-dict.json +++ b/tests/qapi-schema/flat-union-inline-invalid-dict.json @@ -1,5 +1,5 @@ -# we require branches to be a struct name -# TODO: should we allow anonymous inline branch types? +# union 'data' member with dict value is (longhand) branch +# definition, not inline complex type { 'enum': 'TestEnum', 'data': [ 'value1', 'value2' ] } { 'struct': 'Base', |
