digitalmars.D.learn - Object.factory fails for nested classes ?!
- extrawurst (6/6) May 10 2015 Is it a bug or just missing specification that using
- extrawurst (7/13) May 10 2015 Ok "real" nested classes (class with outer pointer) wont work
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
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, StephanOk "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 ?
May 10 2015