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.
Due to D's issue 2484,
ClassInfo.findwill return null for templated classes, and soReflection.newInstancewill 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.newInstancereturns null.This may be especially pertinent as there is a push to deprecate
ClassInfo.find.