Sign in
qemu
/
qemu
/
40fed8c1d3a2bcef81c8de3f55d7e1abe1397347
/
.
/
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'
}
}