You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Due to D's issue 2484,
ClassInfo.find
will return null for templated classes, and soReflection.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
.The text was updated successfully, but these errors were encountered: