Skip to content

C++: Make asExpr return AggregateLiterals #227

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

Closed
wants to merge 3 commits into from

Conversation

MathiasVP
Copy link
Collaborator

Notice the new inconsistency on irTypeBugs. This actually reveals that this solution isn't as general as I would like it to be (basically it doesn't work for recursive aggregate literals). I'd like to have that fixed before I pull this out of draft.

Other than that the PR should be fine (pending performance testing). On this branch you can do node.asExpr() instanceof AggregateLiteral and get the right node for flow out of an aggregate literal.

cc @bdrodes

@MathiasVP
Copy link
Collaborator Author

Closed in favor of #228

@MathiasVP MathiasVP closed this May 15, 2025
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 this pull request may close these issues.

1 participant