May 10, 2015 Object.factory fails for nested classes ?! | ||||
---|---|---|---|---|
| ||||
Is it a bug or just missing specification that using Object.factory(fullyQualifiedNameToNestedClass) fails ? See repro here: http://dpaste.dzfl.pl/d789237b0f46 Regards, Stephan |
May 10, 2015 Re: Object.factory fails for nested classes ?! | ||||
---|---|---|---|---|
| ||||
Posted in reply to extrawurst | 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 ? |
Copyright © 1999-2021 by the D Language Foundation