DIP 1004 Preliminary Review Round 1

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Wed May 3 02:13:54 PDT 2017


On Tuesday, 2 May 2017 at 18:02:15 UTC, Adam D. Ruppe wrote:
> On Tuesday, 2 May 2017 at 09:03:27 UTC, deadalnix wrote:
>> 100% in favor of the constructor behavior change in case no 
>> constructor is in the derived class.
>
> I agree.

So do I.

However I oppose the other part of the DIP since it's already 
possible today.

class FileException : Exception
{
     this(ErrorCode error_code, string file = __FILE__, uint line 
= __LINE__ )
     {
         super("FileNotFound", file, line);
     }

     alias __ctor = super.__ctor;
}



More information about the Digitalmars-d mailing list