Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Representation of aggregate struct initializer #74

Closed
AndreyG opened this issue Nov 22, 2022 · 0 comments · Fixed by #105
Closed

Representation of aggregate struct initializer #74

AndreyG opened this issue Nov 22, 2022 · 0 comments · Fixed by #105

Comments

@AndreyG
Copy link
Contributor

AndreyG commented Nov 22, 2022

struct X {
    int field;
};

export constexpr X x { 1 };

According to the current state of IFC-spec, initializer of x is ProductTypeValue expression, with .members = ExprSort::SubobjectValue.
Unfortunately, structure SubobjectValue is undefined and marked as "scheduled for removal in future releases".
So, right now it's impossible to read as basic stuff as aggregate initialization from IFC.

GabrielDosReis added a commit to GabrielDosReis/ifc-spec that referenced this issue Aug 11, 2023
GabrielDosReis added a commit that referenced this issue Aug 11, 2023
* Describe `ExprSort::SubobjectValue`

Fix #74

* Delete texput.log
GabrielDosReis added a commit that referenced this issue Aug 11, 2023
* Describe `ExprSort::SubobjectValue`

Fix #74

* Delete texput.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant