mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
315932b5ed
A command's or event's 'data' must be a struct type, given either as a
dictionary, or as struct type name.
Commit dd883c6
tightened the checking there, but not enough: we still
accept 'union'. Fix to reject it.
We may want to support union types there, but we'll have to extend
qapi-commands.py and qapi-events.py for it.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2 lines
91 B
Plaintext
2 lines
91 B
Plaintext
tests/qapi-schema/args-union.json:4: 'data' for command 'oops' cannot use union type 'Uni'
|