b6c18755e4
This is quite similar to commit 84ab008687
"qapi: Add feature flags to
struct members", only for enums instead of structs.
Special feature flag 'deprecated' is silently ignored there. This is
okay only because it will be implemented shortly.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20211025042405.3762351-3-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
4 lines
163 B
Plaintext
4 lines
163 B
Plaintext
enum-dict-member-unknown.json: In enum 'MyEnum':
|
|
enum-dict-member-unknown.json:2: 'data' member has unknown key 'bad-key'
|
|
Valid keys are 'features', 'if', 'name'.
|