fix issue 10542 - implicitly generated class ctor doesnt inherit base class ctor attributes

http://d.puremagic.com/issues/show_bug.cgi?id=10542