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

Templated classes can't be deserialized #57

Open
Biotronic opened this issue May 27, 2019 · 0 comments
Open

Templated classes can't be deserialized #57

Biotronic opened this issue May 27, 2019 · 0 comments

Comments

@Biotronic
Copy link

Biotronic commented May 27, 2019

Due to D's issue 2484, ClassInfo.find will return null for templated classes, and so Reflection.newInstance will do the same.

This could be fixed without waiting for a fix for druntime/dmd issue by keeping track of the classinfo whenever a templated class is registered with Orange, and looking up that info when Reflection.newInstance returns null.

This may be especially pertinent as there is a push to deprecate ClassInfo.find.

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