Ary Borenszweig Wrote:

> Sam Hu escribi?
> > John C Wrote:
> > 
> >> Object.factory requires a fully qualified class name, so if class Dog 
> >> resides in module animals, call Object.factory("animals.Dog").
> > 
> > It works now.Great!Thanks so much!
> > 
> > But...may I ask how do you know that?(requires full name).I went through 
> > the object.di but nothing relative found.
> 
> There: http://d.puremagic.com/issues/show_bug.cgi?id=3093

Thanks a lot.

I found the reflection(object module + __traits) of the current version of D2 
is very powerful already .Wondering how come some ppl here felt that D is still 
lack of reflection?

Reply via email to