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

Vector destructor not being loaded unless make() is called at least once #32

Open
Victorious3 opened this issue Sep 2, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@Victorious3
Copy link
Contributor

The title says it all.
The problem is, the destructors get created on a case by case basis when a Node has that type, and if the Vector type is never used anywhere else it doesn't create a destructor for it.

@Victorious3 Victorious3 added the bug Something isn't working label Sep 2, 2023
@Victorious3
Copy link
Contributor Author

This is related to #37

@Victorious3 Victorious3 added this to the 0.4 milestone Nov 17, 2023
@Victorious3
Copy link
Contributor Author

To be honest the whole idea of only creating the destructor if there's ever a value of that type is inherently flawed. I have done it like this because it was the only option that didn't fail in one of the cases I encountered. Maybe the short term solution is to also generate the constructor/destructor pair when referring to the Type itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant