Module level variable shadowing
dennis luehring via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 27 21:38:15 PDT 2014
Am 27.06.2014 22:38, schrieb Tofu Ninja:
> On Friday, 27 June 2014 at 08:24:16 UTC, dennis luehring wrote:
>> what i don't understand - why on earth should someone want to
>> shadow a(or better any) variable at all?
>
> It can be useful if you are using mixins where you don't know
> what is going to be in the destination scope.
>
can be usefull in a even more hard to understand situation makes it no
better
More information about the Digitalmars-d
mailing list