Re: [PATCH v2 04/19] qapi/schema: declare type for QAPISchemaObjectTypeMember.type

2024-01-16 Thread John Snow
On Mon, Jan 15, 2024 at 8:53 AM Markus Armbruster wrote: > > John Snow writes: > > > declare, but don't initialize the type of "type" to be QAPISchemaType - > > Declare > > > and allow the value to be initialized during check(). This creates a > > form of delayed initialization for QAPISchemaType

Re: [PATCH v2 04/19] qapi/schema: declare type for QAPISchemaObjectTypeMember.type

2024-01-15 Thread Markus Armbruster
John Snow writes: > declare, but don't initialize the type of "type" to be QAPISchemaType - Declare > and allow the value to be initialized during check(). This creates a > form of delayed initialization for QAPISchemaType objects where the > static typing only represents the fully-realized obj

[PATCH v2 04/19] qapi/schema: declare type for QAPISchemaObjectTypeMember.type

2024-01-12 Thread John Snow
declare, but don't initialize the type of "type" to be QAPISchemaType - and allow the value to be initialized during check(). This creates a form of delayed initialization for QAPISchemaType objects where the static typing only represents the fully-realized object, which occurs after check() has be