We always report "should be a dictionary" then. This is misleading: when allow_dict, it can be a dictionary or a type name string, else it can only be a type name. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
4 lines
114 B
JSON
4 lines
114 B
JSON
# FIXME error "should be a dictionary" is misleading, type name is also fine
|
|
{ 'struct': 'foo',
|
|
'data': false }
|