DIP66 - Multiple alias this

Joseph Rushton Wakeling via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 10 15:27:49 PDT 2014


On 10/10/14 19:09, IgorStepanov via Digitalmars-d wrote:
> I've created DIP for my pull request.
> DIP: http://wiki.dlang.org/DIP66
> PR: https://github.com/D-Programming-Language/dmd/pull/3998
>
> Please, comment it.

This may be beyond the scope of the DIP, but is there any intention (or any 
need?) to set rules for how alias this should behave in the case of different 
protection levels for the base type and the alias?

I ask because there is a known issue related to this:
https://issues.dlang.org/show_bug.cgi?id=10996

... but also because any rules set for this, might in principle affect the 
desirable priority rules for multiple alias this too.


More information about the Digitalmars-d mailing list