On Tue, Mar 19, 2024, 12:02 PM Markus Armbruster wrote:
> John Snow writes:
>
> > On Fri, Mar 15, 2024, 11:23 AM Markus Armbruster
> wrote:
> >
> >> Entities with names starting with q_obj_ are implicit object types.
> >> Therefore, QAPISchema._make_implicit_object_type()'s .lookup_entity()
> >
John Snow writes:
> On Fri, Mar 15, 2024, 11:23 AM Markus Armbruster wrote:
>
>> Entities with names starting with q_obj_ are implicit object types.
>> Therefore, QAPISchema._make_implicit_object_type()'s .lookup_entity()
>> can only return a QAPISchemaObjectType. Assert that.
>>
>> Signed-off-
On Fri, Mar 15, 2024, 11:23 AM Markus Armbruster wrote:
> Entities with names starting with q_obj_ are implicit object types.
> Therefore, QAPISchema._make_implicit_object_type()'s .lookup_entity()
> can only return a QAPISchemaObjectType. Assert that.
>
> Signed-off-by: Markus Armbruster
> ---
On 15/3/24 16:23, Markus Armbruster wrote:
Entities with names starting with q_obj_ are implicit object types.
Therefore, QAPISchema._make_implicit_object_type()'s .lookup_entity()
can only return a QAPISchemaObjectType. Assert that.
Signed-off-by: Markus Armbruster
---
scripts/qapi/schema.p
Entities with names starting with q_obj_ are implicit object types.
Therefore, QAPISchema._make_implicit_object_type()'s .lookup_entity()
can only return a QAPISchemaObjectType. Assert that.
Signed-off-by: Markus Armbruster
---
scripts/qapi/schema.py | 3 ++-
1 file changed, 2 insertions(+), 1