Sign in
qemu
/
qemu
/
060685041ce6b98e5fb015b1d0318eb2f72944b5
/
.
/
tests
/
qapi-schema
/
union-unknown.json
blob: 4736f1ab0849944302da4295f79a676e706e2e22 [
file
] [
log
] [
blame
]
#
we reject a union with unknown type in branch
{
'enum'
:
'Enum'
,
'data'
:
[
'unknown'
]
}
{
'union'
:
'Union'
,
'base'
:
{
'type'
:
'Enum'
},
'discriminator'
:
'type'
,
'data'
:
{
'unknown'
:
'MissingType'
}
}