DIP66 - Multiple alias this

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 10 15:29:51 PDT 2014


On 10/10/2014 3:06 PM, Timon Gehr wrote:
> On 10/10/2014 11:25 PM, Walter Bright wrote:
>>
>> Essentially, the rules for multiple alias this should be the same as for
>> multiple imports and multiple mixin templates. These rules work, and the
>> consistency will be expected.
>
> Agreed. Do you suggest to overload alias this against imports and mixin templates?

I hadn't thought of that (thanks for bringing it up). My first thought is no. 
Alias this gets searched after those do, because it comes into play only when 
the symbol isn't resolved in the scope.


More information about the Digitalmars-d mailing list