Re: [Qemu-devel] [RFC PATCH 15/32] tests/qapi-schema: Improve simple union coverage

2017-10-04 Thread Markus Armbruster
Marc-André Lureau writes: > On Mon, Oct 2, 2017 at 5:25 PM, Markus Armbruster wrote: >> This demonstrates a bug in the lowering of simple unions: if more than >> one schema uses the same built-in type T for a simple union member, >> they all generate the same q_obj_T_wrapper into their qapi-type

Re: [Qemu-devel] [RFC PATCH 15/32] tests/qapi-schema: Improve simple union coverage

2017-10-04 Thread Marc-André Lureau
On Mon, Oct 2, 2017 at 5:25 PM, Markus Armbruster wrote: > This demonstrates a bug in the lowering of simple unions: if more than > one schema uses the same built-in type T for a simple union member, > they all generate the same q_obj_T_wrapper into their qapi-types.h. > They clash when you includ