DIP66 v1.1 (Multiple) alias this.

Joseph Rushton Wakeling via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 22 11:11:17 PST 2014


On 21/12/14 11:11, Dicebot via Digitalmars-d wrote:
> On Sunday, 21 December 2014 at 08:23:34 UTC, deadalnix wrote:
>>> See also: https://issues.dlang.org/show_bug.cgi?id=10996
>>
>> I have nothing against this, but this is, indeed, completely out of the scope
>> (!) of the DIP.
>
> I think it belongs to DIP22

In fact it's already in there:

     A public alias to a private symbol makes the symbol
     accessibly through the alias. The alias itself needs
     to be in the same module, so this doesn't impair
     protection control.

It's just not implemented for alias this.


More information about the Digitalmars-d mailing list