b36dc5c279
Check that conflicts among array alternates are detected correctly. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220321164243.200569-3-pbonzini@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Expected test output alternate-conflict-lists.json corrected] Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 lines
201 B
JSON
7 lines
201 B
JSON
# Two lists conflict even if their inner types would be compatible
|
|
{ 'struct': 'One',
|
|
'data': { 'name': 'str' } }
|
|
{ 'alternate': 'Alt',
|
|
'data': { 'one': [ 'int' ],
|
|
'two': [ 'str' ] } }
|