On 03/29/2015 10:03 AM, Markus Armbruster wrote:
> What happens when I define a member key multiple times in a struct or
> union type?
>
> If I do it directly, the parser rejects the duplicate key in
> get_members(). Covered by tests/qapi-schema/duplicate-key.json.
>
> What if I hide the duplica
What happens when I define a member key multiple times in a struct or
union type?
If I do it directly, the parser rejects the duplicate key in
get_members(). Covered by tests/qapi-schema/duplicate-key.json.
What if I hide the duplicate in a base type?
If I stick this into qapi-schema-test.json:
Eric Blake writes:
> After several months of sitting on this, I finally made progress
> on it. Let's get it in 2.4, and I promise to kick out a v6
> (if needed) with much less delay.
>
> We want to eventually allow qapi defaults, by making:
> 'data':{'*flag':'bool'}
> shorthand for:
> 'data':{
After several months of sitting on this, I finally made progress
on it. Let's get it in 2.4, and I promise to kick out a v6
(if needed) with much less delay.
We want to eventually allow qapi defaults, by making:
'data':{'*flag':'bool'}
shorthand for:
'data':{'flag':{'type':'bool', 'optional':tr