http://d.puremagic.com/issues/show_bug.cgi?id=9066
--- Comment #11 from Martin Nowak <[email protected]> 2013-10-05 11:49:56 PDT --- (In reply to comment #10) > class A { this(int); this(double); } > > // inherit the this(int) ctor > class B : A { this(string); alias super.this(int) this; } > ----- This is more specific because you have to specify which constructor to inherit by stating the parameter types. So you will save less typing over this(int a) { super(a); }. It's still useful because you can reuse the default arguments and the compiler will check for you that the parameter types match the base class. No good idea for the syntax though. Maybe we can special case the alias syntax as you used it in the example. > so maybe we should split this up into two enhancement requests Makes sense. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
