Object.factory fails for nested classes ?!

extrawurst via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 10 14:01:12 PDT 2015


On Sunday, 10 May 2015 at 13:38:22 UTC, extrawurst wrote:
> Is it a bug or just missing specification that using 
> Object.factory(fullyQualifiedNameToNestedClass) fails ?
>
> See repro here:
> http://dpaste.dzfl.pl/d789237b0f46
>
> Regards,
> Stephan

Ok "real" nested classes (class with outer pointer) wont work 
(why does it fail inside a struct then?)
That still leaves the question why a simple class declared in a 
unittest scope wont work either (even declared as a static class):

http://dpaste.dzfl.pl/33ee48536ecb

ideas anyone ?


More information about the Digitalmars-d-learn mailing list