diff options
author | Markus Armbruster <armbru@redhat.com> | 2021-03-23 10:40:00 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-03-23 21:38:39 +0100 |
commit | 5bd18d98cd88e2df1e1e274546a06ebe7fdd5eec (patch) | |
tree | 47115ffbe60d16b925484ff568720b90c54813fd /tests/qapi-schema/nested-struct-data-invalid-dict.json | |
parent | 00d16f239f3a1ba0b1ea09dc0852386a25a144bc (diff) |
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/nested-struct-data-invalid-dict.json')
-rw-r--r-- | tests/qapi-schema/nested-struct-data-invalid-dict.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qapi-schema/nested-struct-data-invalid-dict.json b/tests/qapi-schema/nested-struct-data-invalid-dict.json index efbe773ded..aa37b85e19 100644 --- a/tests/qapi-schema/nested-struct-data-invalid-dict.json +++ b/tests/qapi-schema/nested-struct-data-invalid-dict.json @@ -1,3 +1,4 @@ -# inline subtypes collide with our desired future use of defaults +# command 'data' member with dict value is (longhand) argument +# definition, not inline complex type { 'command': 'foo', 'data': { 'a' : { 'string' : 'str', 'integer': 'int' }, 'b' : 'str' } } |