mirror of
https://github.com/qemu/qemu.git
synced 2024-12-04 17:23:39 +08:00
5223070c47
Since enum based discriminators provide better type-safety and ensure that future qapi additions do not forget to adjust dependent unions, forbid using string as discriminator from now on. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2 lines
61 B
Plaintext
2 lines
61 B
Plaintext
<stdin>:13: Discriminator 'kind' must be of enumeration type
|