DIP66 - Multiple alias this

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 19 17:23:45 PDT 2014


On Wednesday, 15 October 2014 at 09:50:17 UTC, IgorStepanov wrote:
> In first edition I've implemented rule, when if type defines 
> alias this directly, this alias hides all indirect aliases with 
> the same type. However Andrey said that we should implement the 
> strictest rules as possible and maybe relax them later.
> Thus I implemented current rules, but saved the old 
> implemetation of search. After some time we will able to return 
> to first rule. It's not hard.

I see, in order to prevent any accidental shadowing, maybe one 
can consider "override alias this", if we decide to make a 
relaxed version in the future?


More information about the Digitalmars-d mailing list