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