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

Make class a pointer to the underlying struct in the IR #250

Open
deadalnix opened this issue Jan 19, 2023 · 0 comments
Open

Make class a pointer to the underlying struct in the IR #250

deadalnix opened this issue Jan 19, 2023 · 0 comments

Comments

@deadalnix
Copy link
Contributor

Right now, we have to special case classes every time aggregate are involved, and this is really annoying and error prone.

A better path forward would be to generate a pointer to the struct in the IR, and then special case the few places where the difference matter, like template pattern matching.

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

No branches or pull requests

1 participant