DIP 1004 Preliminary Review Round 1

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Mon May 1 08:33:47 PDT 2017


On Monday, 1 May 2017 at 14:55:28 UTC, Mike Parker wrote:
> DIP 1004 is titled "Inherited Constructors. [...]
> All review-related feedback on and discussion of the DIP should 
> occur in this thread. [...]
> Destroy!

An obvious omission in the syntax variations [1]

- alias this() = super.this();

or

- alias this = super.this;


Why ?

1/ AliasDeclarationY [2] is the most modern and most used alias 
syntax nowadays.
2/ it's less confusing with the "alias this" that's used for 
static inheritance.

[1] 
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1004.md#syntax-variations
[2] https://dlang.org/spec/declaration.html#AliasDeclarationY


More information about the Digitalmars-d mailing list