Open DarkArc opened 1 year ago
The IFC spec describes TypeSort::Placeholder as:
TypeSort::Placeholder
|-------------|-----------------------------| | Name | Type | |-------------|-----------------------------| | constraint | ExprIndex | | basis | TypeBasis | | elaboration | TypeIndex | |-------------|-----------------------------|
The true representation is:
|-------------|-----------------------------| | Name | Type | |-------------|-----------------------------| | constraint | ExprIndex | | basis | TypeBasis | | __pading__ | uint8[3] | | elaboration | TypeIndex | |-------------|-----------------------------|
Ideally, this would be as follows to match other cases of padding in the IFC spec:
|-------------|-----------------------------| | Name | Type | |-------------|-----------------------------| | constraint | ExprIndex | | basis | TypeBasis | | elaboration | TypeIndex | | __pading__ | uint8[3] | |-------------|-----------------------------|
At a minimum, this padding should be documented in the spec.
The IFC spec describes
TypeSort::Placeholder
as:The true representation is:
Ideally, this would be as follows to match other cases of padding in the IFC spec:
At a minimum, this padding should be documented in the spec.